Remove lsb-functions stuff from debian/postrm to avoid race-conditions when removing... 0.6.17
authorMichael Prokop <mika@grml.org>
Sat, 17 Mar 2007 21:40:41 +0000 (22:40 +0100)
committerMichael Prokop <mika@grml.org>
Sat, 17 Mar 2007 21:40:41 +0000 (22:40 +0100)
debian/changelog
debian/postrm

index a6ff228..b630768 100644 (file)
@@ -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 <mika@grml.org>  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.
index b0e8fcc..099e6c0 100755 (executable)
@@ -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"