From: Michael Prokop Date: Sat, 17 Mar 2007 21:40:41 +0000 (+0100) Subject: Remove lsb-functions stuff from debian/postrm to avoid race-conditions when removing... X-Git-Tag: 0.6.17 X-Git-Url: http://git.grml.org/?p=grml-autoconfig.git;a=commitdiff_plain;h=abd1ed821247b0c8e559a8d2b5c8e3e05db16563 Remove lsb-functions stuff from debian/postrm to avoid race-conditions when removing the package --- diff --git a/debian/changelog b/debian/changelog index a6ff228..b630768 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +grml-autoconfig (0.6.17) unstable; urgency=low + + * Remove lsb-functions stuff from debian/postrm to avoid race-conditions + when removing the package. + + -- Michael Prokop Sat, 17 Mar 2007 22:40:09 +0100 + grml-autoconfig (0.6.16) unstable; urgency=low * Execute config_homedir() only if home-bootoption is set. diff --git a/debian/postrm b/debian/postrm index b0e8fcc..099e6c0 100755 --- a/debian/postrm +++ b/debian/postrm @@ -5,12 +5,11 @@ if [ "$1" = "purge" ]; then update-rc.d grml-autoconfig remove >/dev/null || exit 0 # don't delete /etc/init.d/bootlocal* scripts, even not when purging - notice therefore: - . /etc/grml/lsb-functions INITSCRIPT=bootlocal INITNAME=/etc/init.d/$INITSCRIPT if [ -r "${INITNAME}.first" ] ; then - ewarn "Notice: ${INITNAME}.{first,middle,last} won't be deleted automatically." ; eend 0 - ewarn "If you want to remove them delete them manually and then run:" + echo "Notice: ${INITNAME}.{first,middle,last} won't be deleted automatically." + echo "If you want to remove them delete them manually and then run:" echo " update-rc.d ${INITSCRIPT}.first remove" echo " update-rc.d ${INITSCRIPT}.middle remove" echo " update-rc.d ${INITSCRIPT}.last remove"