summaryrefslogtreecommitdiffstats
path: root/perl-install/install/Makefile
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/install/Makefile
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/install/Makefile')
-rw-r--r--perl-install/install/Makefile2
1 files changed, 1 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)