summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-06-28 07:41:28 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-06-28 07:41:28 +0000
commitd4dc3402c77a6d4d080cb12010d90cfbf8d95894 (patch)
treeb8913141a0eb535de803bd5f1ea0e54b8384d9bb
parent7f4d2814adfd97981d0c49dbf2f8e58275e69fb0 (diff)
downloaddrakx-d4dc3402c77a6d4d080cb12010d90cfbf8d95894.tar
drakx-d4dc3402c77a6d4d080cb12010d90cfbf8d95894.tar.gz
drakx-d4dc3402c77a6d4d080cb12010d90cfbf8d95894.tar.bz2
drakx-d4dc3402c77a6d4d080cb12010d90cfbf8d95894.tar.xz
drakx-d4dc3402c77a6d4d080cb12010d90cfbf8d95894.zip
help getting rid of existing files
-rw-r--r--tools/drakx-in-chroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/drakx-in-chroot b/tools/drakx-in-chroot
index 21ff578fc..d2bf50de6 100644
--- a/tools/drakx-in-chroot
+++ b/tools/drakx-in-chroot
@@ -25,7 +25,7 @@ if ($>) {
if (-d $SLASH_LOCATION) {
umount_all() == 0 or die "$SLASH_LOCATION is busy\n";
- sys("$sudo rm -f $SLASH_LOCATION/var/lib/rpm");
+ sys("$sudo rm -rf $SLASH_LOCATION/var/lib/rpm $SLASH_LOCATION/dev/mapper");
rm_rf($SLASH_LOCATION);
}