diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-05-31 11:49:08 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-05-31 11:49:08 +0000 |
commit | 749df30984e71a8c7c27a68efd27196a37028842 (patch) | |
tree | e2b6d3a8a1a8060d731ea7679821927d404f5960 /rescue | |
parent | 21d9e8f6b9e43624e7cca46f70a2d0075ebca848 (diff) | |
download | drakx-749df30984e71a8c7c27a68efd27196a37028842.tar drakx-749df30984e71a8c7c27a68efd27196a37028842.tar.gz drakx-749df30984e71a8c7c27a68efd27196a37028842.tar.bz2 drakx-749df30984e71a8c7c27a68efd27196a37028842.tar.xz drakx-749df30984e71a8c7c27a68efd27196a37028842.zip |
check presence of files from list and list.ARCH
Diffstat (limited to 'rescue')
-rwxr-xr-x | rescue/make_rescue_img | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/rescue/make_rescue_img b/rescue/make_rescue_img index c100f9594..44766f318 100755 --- a/rescue/make_rescue_img +++ b/rescue/make_rescue_img @@ -54,8 +54,12 @@ foreach (keyboard::loadkeys_files) { } unlink "$tmp/usr/lib/kbd/keymaps/i386/qwertz/fr.kmap.gz"; -foreach (cat_("list"), cat_(`../tools/specific_arch list`)) { - chomp; + +@files = map { chomp; $_ } (cat_("list"), cat_(`../tools/specific_arch list`)); +`ls @files`; +$? == 0 or exit 1; + +foreach (@files) { install($_); chomp, install_lib($_) foreach `ldd $_ 2>/dev/null | grep "=>" | sed -e 's/.*=> //' -e 's/ .*//'`; } |