summaryrefslogtreecommitdiffstats
path: root/rescue/make_rescue_img
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-02-13 14:43:10 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-02-13 14:43:10 +0000
commit766198e9b35460e05c9da2ed9b4d1d314e5f0c7b (patch)
tree1e46290fd77ddd4217045aea1ffab3e88cab203c /rescue/make_rescue_img
parent1e20915ac8e69b0ffa44f1e16bf322ec70d07ae8 (diff)
downloaddrakx-backup-do-not-use-766198e9b35460e05c9da2ed9b4d1d314e5f0c7b.tar
drakx-backup-do-not-use-766198e9b35460e05c9da2ed9b4d1d314e5f0c7b.tar.gz
drakx-backup-do-not-use-766198e9b35460e05c9da2ed9b4d1d314e5f0c7b.tar.bz2
drakx-backup-do-not-use-766198e9b35460e05c9da2ed9b4d1d314e5f0c7b.tar.xz
drakx-backup-do-not-use-766198e9b35460e05c9da2ed9b4d1d314e5f0c7b.zip
include libs for hostname resolving
Diffstat (limited to 'rescue/make_rescue_img')
-rwxr-xr-xrescue/make_rescue_img2
1 files changed, 1 insertions, 1 deletions
diff --git a/rescue/make_rescue_img b/rescue/make_rescue_img
index 8d35efe5a..e26f57d18 100755
--- a/rescue/make_rescue_img
+++ b/rescue/make_rescue_img
@@ -28,8 +28,8 @@ sub install_ {
commands::mkdir_("-p", "$tmp$d") unless -d "$tmp$d";
_ "$sudo cp $_[1] $_[0] $tmp$d";
}
-sub install { install_($_[0], "-a") }
sub install_lib { install_($_[0], "") }
+sub install { grep {/lib\w+.so/} @_ and install_lib(@_) or install_($_[0], "-a") }
sub installown($$) {
my ($own, $dir) = @_;