From 832b60a4c083dcb244f7cb17aa0aabffa3cfaa82 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Mon, 22 Oct 2012 20:07:15 +0000 Subject: Only emulate shell commands via perl if real versions do not exist already --- perl-install/install/Makefile | 2 +- perl-install/install/NEWS | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1