diff options
author | Colin Guthrie <colin@mageia.org> | 2012-10-22 20:07:15 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2012-10-22 20:07:15 +0000 |
commit | 995d0944fec014e6e95809bf133052ad89c5a93a (patch) | |
tree | 0f1cab2c8544932e0a2dea33e15c434cfe9a7f77 /perl-install/install/Makefile | |
parent | e6f5c706f51370df496d5a02811ac6569f083f14 (diff) | |
download | drakx-backup-do-not-use-995d0944fec014e6e95809bf133052ad89c5a93a.tar drakx-backup-do-not-use-995d0944fec014e6e95809bf133052ad89c5a93a.tar.gz drakx-backup-do-not-use-995d0944fec014e6e95809bf133052ad89c5a93a.tar.bz2 drakx-backup-do-not-use-995d0944fec014e6e95809bf133052ad89c5a93a.tar.xz drakx-backup-do-not-use-995d0944fec014e6e95809bf133052ad89c5a93a.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/Makefile | 2 |
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) |