source: ipk/source.sh4/network_xupnpd/CONTROL/postrm@ 46250

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

fix ipkg preinst prerm postrm scripts

  • Property svn:executable set to *
File size: 302 bytes
Line 
1#!/bin/sh
2INSTDIR="$1"
3PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/xupnpd"
4
5rm -rf "$PLUGINDIR" >/dev/null 2>&1
6rm -rf $INSTDIR/etc/xupnpd >/dev/null 2>&1
7
8if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
9 opkg remove titan-plugin-network-xupnpd --dest $1
10fi
11
12exit 0
Note: See TracBrowser for help on using the repository browser.