summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2012-10-22 20:07:15 +0000
committerColin Guthrie <colin@mageia.org>2012-10-22 20:07:15 +0000
commit832b60a4c083dcb244f7cb17aa0aabffa3cfaa82 (patch)
tree0f1cab2c8544932e0a2dea33e15c434cfe9a7f77 /perl-install
parent75feeb7a77b4b648426d1a8b68ff54190ba75172 (diff)
downloaddrakx-832b60a4c083dcb244f7cb17aa0aabffa3cfaa82.tar
drakx-832b60a4c083dcb244f7cb17aa0aabffa3cfaa82.tar.gz
drakx-832b60a4c083dcb244f7cb17aa0aabffa3cfaa82.tar.bz2
drakx-832b60a4c083dcb244f7cb17aa0aabffa3cfaa82.tar.xz
drakx-832b60a4c083dcb244f7cb17aa0aabffa3cfaa82.zip
Only emulate shell commands via perl if real versions do not exist already
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install/Makefile2
-rw-r--r--perl-install/install/NEWS2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/install/Makefile b/perl-install/install/Makefile
index 048e401f4..e1902c985 100644
--- a/perl-install/install/Makefile
+++ b/perl-install/install/Makefile
@@ -48,7 +48,7 @@ install_pms:
[ -d $(DEST) ] || ../../tools/mdkinst_stage2_tool --uncompress $(STAGE2_DEST)
# commands implemented in perl:
- for i in `perl -ne 's/sub (\w+?)_?(\(\))? {.*/$$1/ and print' commands.pm` sync; do ln -sf commands $(DEST)/usr/bin/$$i; done
+ for i in `perl -ne 's/sub (\w+?)_?(\(\))? {.*/$$1/ and print' commands.pm` sync; do if [ ! -x /usr/bin/$$i ]; then ln -sf commands $(DEST)/usr/bin/$$i; fi; done
# install & clean perl modules:
install -d $(DESTREP4PMS)
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index a4ea85de8..e4cc96cbe 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,5 @@
+- prefer real binaries over the lightweight perl wrappers
+
Version 14.48 - 22 October 2012
- fix detecting if udev is already running