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
RevLine 
[27875]1#!/bin/sh
2INSTDIR="$1"
3PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/xupnpd"
4
5rm -rf "$PLUGINDIR" >/dev/null 2>&1
[36021]6rm -rf $INSTDIR/etc/xupnpd >/dev/null 2>&1
[34493]7
[46250]8if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
[45958]9 opkg remove titan-plugin-network-xupnpd --dest $1
[43292]10fi
11
[34372]12exit 0
Note: See TracBrowser for help on using the repository browser.