summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-10-12 13:33:38 +0000
committerOlivier Blin <oblin@mandriva.com>2007-10-12 13:33:38 +0000
commit7333618214aaecda6891211623b96e16efd97adf (patch)
treea57abc87c7d7fdac9733557418df9f986af6595a
parent9b00b85959cb02e563544db14d4364340b80e426 (diff)
downloaddraklive-7333618214aaecda6891211623b96e16efd97adf.tar
draklive-7333618214aaecda6891211623b96e16efd97adf.tar.gz
draklive-7333618214aaecda6891211623b96e16efd97adf.tar.bz2
draklive-7333618214aaecda6891211623b96e16efd97adf.tar.xz
draklive-7333618214aaecda6891211623b96e16efd97adf.zip
fix removal of __db files (do it in chroot)
-rwxr-xr-xdraklive2
1 files changed, 1 insertions, 1 deletions
diff --git a/draklive b/draklive
index 78e92c5..1f81237 100755
--- a/draklive
+++ b/draklive
@@ -801,7 +801,7 @@ sub post_install_system {
run_("chroot " . get_system_root($live) . " rpm -qa | sort > " . get_builddir($live) . "/packages.lst");
#- workaround rpm bug that leaves a corrupted rpm DB in chroot
- rm_rf(glob_(get_builddir($live) . "/var/lib/rpm/__db.*"));
+ rm_rf(glob_(get_system_root($live) . "/var/lib/rpm/__db.*"));
umask $previous_umask;
}