3 # Purpose: postrm script for package grml-etc
4 # Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports: see http://grml.org/bugs/
6 # License: This file is licensed under the GPL v2.
7 ################################################################################
15 dpkg-divert --remove --rename --package grml-etc \
16 --divert $2/$1.$DEXT $2/$1 #> /dev/null
21 for cmd in $TO_UNDIVERT1; do
22 undivert_gen $cmd /etc/init.d
25 # make sure the ssh init script even exists if something is failing...
26 if ls /etc/init.d/ssh* 1>/dev/null 2>&1 ; then
27 if [ ! -f /etc/init.d/ssh -a /etc/init.d/ssh.original.dpkg-new ] ; then
28 mv /etc/init.d/ssh.original.dpkg-new /etc/init.d/ssh
34 remove|abort-install|disappear)
37 upgrade|failed-upgrade|abort-install|abort-upgrade)
41 echo "postrm called with unknown argument $1" >&2
49 ## END OF FILE #################################################################