summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-06-05 01:12:41 +0000
committerOlivier Blin <oblin@mandriva.com>2007-06-05 01:12:41 +0000
commit59d009db21b6cf1199edc476c1c0658f64378714 (patch)
tree792f2725afb59560f750791d50c383a28288033d /draklive
parent76fe3125a3eb6da9b69a2d6d42b6df98ed6bc4d1 (diff)
downloaddraklive-59d009db21b6cf1199edc476c1c0658f64378714.tar
draklive-59d009db21b6cf1199edc476c1c0658f64378714.tar.gz
draklive-59d009db21b6cf1199edc476c1c0658f64378714.tar.bz2
draklive-59d009db21b6cf1199edc476c1c0658f64378714.tar.xz
draklive-59d009db21b6cf1199edc476c1c0658f64378714.zip
protect rm_rf from die
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive2
1 files changed, 1 insertions, 1 deletions
diff --git a/draklive b/draklive
index 0f18977..e27b10a 100755
--- a/draklive
+++ b/draklive
@@ -767,7 +767,7 @@ sub post_install_system {
run_({ setarch => $live->{settings}{arch} },
"chroot", get_system_root($live), "bash", "-c", $live->{system}{postInstall}) if $live->{system}{postInstall};
- rm_rf(get_builddir($live) . $live->{prefix}{build}{files});
+ eval { rm_rf(get_builddir($live) . $live->{prefix}{build}{files}) };
mkdir_p(get_builddir($live) . $live->{prefix}{build}{files});
if ($live->{media}{files}) {
copy_files_to($live, $live->{media}{files}, get_builddir($live) . $live->{prefix}{build}{files});