source: ipk/source.arm/tools_sispmctl/CONTROL/postinst @ 43290

Last change on this file since 43290 was 43290, checked in by obi, 5 months ago

test arm oebuile

File size: 423 bytes
Line 
1#!/bin/sh
2INSTDIR="$1" 
3PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/sispmctl"
4
5if [ -e /tmp/sispmctl.conf ]; then
6        mv "$PLUGINDIR/sispmctl.conf" "$PLUGINDIR/sispmctl.conf_org"
7        cp /tmp/sispmctl.conf "$PLUGINDIR/sispmctl.conf"
8        rm /tmp/isispmctl.conf
9fi
10
11cp "$PLUGINDIR/lib/libusb-0.1.so.4" "/usr/lib/libusb-0.1.so.4"
12
13if [ -e /etc/.oebuild ];then
14        opkg update
15        opkg install titan-plugin-sispmctl --dest $1
16fi
17
18exit 0
Note: See TracBrowser for help on using the repository browser.