Use apt-get instead of dpkg in removal of packages in grml-small.
[grml-live.git] / etc / grml / fai / config / scripts / GRMLBASE / 98-clean-chroot
index b5f193e..902bd02 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 Sep 06 20:05:02 CEST 2008 [mika]
+# Latest change: Thu Sep 18 01:32:11 CEST 2008 [mika]
 ################################################################################
 
 set -e
@@ -27,7 +27,7 @@ fi
 if ifclass GRML_SMALL ; then
    $ROOTCMD apt-get -y --purge remove aptitude
    for pkg in groff-base info locales man-db manpages nano; do
-     $ROOTCMD dpkg --purge $pkg || true
+     $ROOTCMD apt-get --purge $pkg || true
    done
 fi