Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 2278

Přidáno uživatelem Ondřej Fibich před více než 10 roky(ů)

Merge 1.1 do trunku (1.1 je aktualni stabilni verze)

Zobrazit rozdíly:

freenetis/trunk/application/vendors/deb/freenetis-qos/postrm
#!/bin/sh
# FreenetIS-qos DEB: actions before uninstalling of package
set -e
. /usr/share/debconf/confmodule
NAME=freenetis-qos
CONFIGFILE=/etc/freenetis/freenetis-qos.conf
# disable startup from update-rc.d
set +e
update-rc.d -f ${NAME} remove
set -e
# remove all configuration if purge
if [ "$1" = purge ]; then
# remove defconf values
if [ -e /usr/share/debconf/confmodule ]; then
db_purge
fi
# remove config files
rm -rf $CONFIGFILE
# remove dir if empty
[ "$(ls -A /etc/freenetis)" ] || rm -rf /etc/freenetis
fi
#DEBHELPER#
exit 0

Také k dispozici: Unified diff