source: ipk/source.sh4/network_xupnpd/CONTROL/postinst@ 46249

Last change on this file since 46249 was 46249, checked in by obi, 4 years ago

fix ipkg postinst

  • Property svn:executable set to *
File size: 358 bytes
RevLine 
[27875]1#!/bin/sh
2INSTDIR="$1"
3PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/xupnpd"
[33735]4export XUPNPDROOTDIR=$INSTDIR/etc/xupnpd
[27875]5echo INSTDIR $INSTDIR
6echo PLUGINDIR $PLUGINDIR
[36008]7mkdir $INSTDIR/etc/xupnpd/config
[34493]8
[46249]9if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
[43292]10 opkg update
[45958]11 opkg install titan-plugin-network-xupnpd --dest $1
[43292]12fi
13
[34372]14exit 0
Note: See TracBrowser for help on using the repository browser.