source: ipk/source.mipsel/tools_multiimage/CONTROL/postinst @ 34383

Last change on this file since 34383 was 34383, checked in by gost, 9 years ago

[plugins] new plugin.. MultiImage

  • Property svn:executable set to *
File size: 562 bytes
Line 
1#!/bin/sh
2INSTDIR="$1" 
3PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/multiimage"
4
5if [ ! -f /usr/bin/python ]; then
6        tar xzf /tmp/python_min.tar.gz.txt -C /
7else
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 /
11fi
12
13mkdir $PLUGINDIR/ubireader
14tar xzf /tmp/ubi_reader-master.tar.gz.txt -C $PLUGINDIR/ubireader
15
16cd $PLUGINDIR/ubireader/ubi_reader-master
17python setup.py install
18
19rm /tmp/python_min.tar.gz.txt  > /dev/null 2>&1
20rm /tmp/ubi_reader-master.tar.gz.txt  > /dev/null 2>&1
21
22exit 0
Note: See TracBrowser for help on using the repository browser.