summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/draklive3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/draklive b/tools/draklive
index 251b5ed8f..c9b30998e 100755
--- a/tools/draklive
+++ b/tools/draklive
@@ -466,7 +466,8 @@ sub post_install_system {
mkdir_p(get_system_root($live) . $rpm_tmp_dir);
cp_f(@{$live->{system}{rpms}}, get_system_root($live) . $rpm_tmp_dir);
run_({ root => get_system_root($live) }, 'urpmi', '--auto',
- map { $rpm_tmp_dir . '/' . basename($_) } @{$live->{system}{rpms}});
+ map { $rpm_tmp_dir . '/' . basename($_) } @{$live->{system}{rpms}})
+ or die "unable to install additionnal system rpms";
rm_rf(get_system_root($live) . $rpm_tmp_dir);
}
my $erase = join(' ', @{$live->{system}{erase_rpms}});