Last change
on this file since 34383 was
34383,
checked in by gost, 8 years ago
|
[plugins] new plugin.. MultiImage
|
-
Property svn:executable set to
*
|
File size:
562 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | INSTDIR="$1" |
---|
3 | PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/multiimage" |
---|
4 | |
---|
5 | if [ ! -f /usr/bin/python ]; then |
---|
6 | tar xzf /tmp/python_min.tar.gz.txt -C / |
---|
7 | else |
---|
8 | tar xzf /tmp/python_min.tar.gz.txt -C / |
---|
9 | #tar xzf /tmp/python-lzo.tar.gz -C / |
---|
10 | #tar xzf /tmp/python-setup.tar.gz -C / |
---|
11 | fi |
---|
12 | |
---|
13 | mkdir $PLUGINDIR/ubireader |
---|
14 | tar xzf /tmp/ubi_reader-master.tar.gz.txt -C $PLUGINDIR/ubireader |
---|
15 | |
---|
16 | cd $PLUGINDIR/ubireader/ubi_reader-master |
---|
17 | python setup.py install |
---|
18 | |
---|
19 | rm /tmp/python_min.tar.gz.txt > /dev/null 2>&1 |
---|
20 | rm /tmp/ubi_reader-master.tar.gz.txt > /dev/null 2>&1 |
---|
21 | |
---|
22 | exit 0 |
---|
Note: See
TracBrowser
for help on using the repository browser.