98-clean-chroot: remove packages via dpkg instead of apt-get
authorMichael Prokop <mika@grml.org>
Mon, 7 Jan 2008 10:35:08 +0000 (11:35 +0100)
committerMichael Prokop <mika@grml.org>
Mon, 7 Jan 2008 10:35:08 +0000 (11:35 +0100)
debian/changelog
etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot

index 02be88b..d231ab2 100644 (file)
@@ -16,6 +16,10 @@ grml-live (0.0.15) unstable; urgency=low
     - add debian2hd for isolinux/syslinux
     - fix serial bootoption
     - add grml2hd template for grub
+  * /etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot:
+    remove packages via dpkg instead of apt-get. Thanks for the
+    bugreport to Lupe Christoph. Thanks for the fix, formorer.
+    [Testing: issue367]
 
  -- Michael Prokop <mika@grml.org>  Fri, 28 Dec 2007 18:48:11 +0100
 
index d8db874..2383622 100755 (executable)
@@ -4,7 +4,7 @@
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2 or any later version.
-# Latest change: Sat Dec 22 09:58:17 CET 2007 [mika]
+# Latest change: Mon Jän 07 11:33:41 CET 2008 [mika]
 ################################################################################
 
 set -e
@@ -34,8 +34,7 @@ fi
 
 # make sure to drop from grml-small what's unnecessary:
 if ifclass GRML_SMALL ; then
-   $ROOTCMD apt-get -y --purge remove groff-base info \
-                    locales man-db manpages nano
+   $ROOTCMD dpkg --purge groff-base info locales man-db manpages nano
 fi
 
 # remove /usr/share/doc, /usr/share/info,... only in class REMOVE_DOCS: