source: ipk/source.mipsel/tools_sispmctl/CONTROL/postrm @ 46250

Last change on this file since 46250 was 46250, checked in by obi, 18 months ago

fix ipkg preinst prerm postrm scripts

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