yacy_search_server/debian/postrm
f1ori 1bc08e1416 support debconf in debian package
* now you are ask some questions to preconfigure yacy after installing the debian package


git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7048 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-08-18 13:30:57 +00:00

45 lines
989 B
Bash

#!/bin/sh
# postrm script for yacy
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postrm> `remove'
# * <postrm> `purge'
# * <old-postrm> `upgrade' <new-version>
# * <new-postrm> `failed-upgrade' <old-version>
# * <new-postrm> `abort-install'
# * <new-postrm> `abort-install' <old-version>
# * <new-postrm> `abort-upgrade' <old-version>
# * <disappearer's-postrm> `disappear' <overwriter>
# <overwriter-version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
purge)
rm -rf /var/lib/yacy /etc/init.d/yacy
;;
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0