blob: 6fb33555bef16ad20f2c5ea585a5c537321859b7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
case $2 in
DEINSTALL)
config_file=$PKG_PREFIX/lib/warsow/basewsw/config.cfg
if [ -e $config_file ] && ! [ -s $config_file ]; then
rm -f $config_file
fi
;;
POST-DEINSTALL)
rmdir $PKG_PREFIX/lib/warsow/basewsw 2>/dev/null || true
rmdir $PKG_PREFIX/lib/warsow 2>/dev/null || true
;;
esac
|