diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-06-05 01:12:41 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-06-05 01:12:41 +0000 |
commit | 59d009db21b6cf1199edc476c1c0658f64378714 (patch) | |
tree | 792f2725afb59560f750791d50c383a28288033d /draklive | |
parent | 76fe3125a3eb6da9b69a2d6d42b6df98ed6bc4d1 (diff) | |
download | drakiso-59d009db21b6cf1199edc476c1c0658f64378714.tar drakiso-59d009db21b6cf1199edc476c1c0658f64378714.tar.gz drakiso-59d009db21b6cf1199edc476c1c0658f64378714.tar.bz2 drakiso-59d009db21b6cf1199edc476c1c0658f64378714.tar.xz drakiso-59d009db21b6cf1199edc476c1c0658f64378714.zip |
protect rm_rf from die
Diffstat (limited to 'draklive')
-rwxr-xr-x | draklive | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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}); |