summaryrefslogtreecommitdiffstats
path: root/rescue/make_rescue_img
diff options
context:
space:
mode:
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) = @_;