diff options
author | Olivier Blin <oblin@mandriva.org> | 2006-03-07 11:39:48 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2006-03-07 11:39:48 +0000 |
commit | ff0439d9f929d7ab237856197475d363eb3884ca (patch) | |
tree | 0dbde91de0a7d24ac7a74d96a4baccd90f10f910 | |
parent | 5c83b27e9a0bc17148e62ad3dbf630f8d0b57d29 (diff) | |
download | drakx-ff0439d9f929d7ab237856197475d363eb3884ca.tar drakx-ff0439d9f929d7ab237856197475d363eb3884ca.tar.gz drakx-ff0439d9f929d7ab237856197475d363eb3884ca.tar.bz2 drakx-ff0439d9f929d7ab237856197475d363eb3884ca.tar.xz drakx-ff0439d9f929d7ab237856197475d363eb3884ca.zip |
die if additionnal system rpms can't be installed
-rwxr-xr-x | tools/draklive | 3 |
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}}); |