summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-02-12 12:20:44 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-02-12 12:20:44 +0000
commit20d64dfa7c0c0179bd148ce62cc6d57a8cc3cef1 (patch)
tree2c3a34f3d8746d4b20ff2b9cb4d6d763379f8f6e /perl-install
parent7e4e410fc98d934bbf71c5d270be27b60a583c8c (diff)
downloaddrakx-20d64dfa7c0c0179bd148ce62cc6d57a8cc3cef1.tar
drakx-20d64dfa7c0c0179bd148ce62cc6d57a8cc3cef1.tar.gz
drakx-20d64dfa7c0c0179bd148ce62cc6d57a8cc3cef1.tar.bz2
drakx-20d64dfa7c0c0179bd148ce62cc6d57a8cc3cef1.tar.xz
drakx-20d64dfa7c0c0179bd148ce62cc6d57a8cc3cef1.zip
add rule dont_run_directly_stage2
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index 49ff45b6d..2dfa51a01 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -260,3 +260,8 @@ cvstag:
nuke_perl:
find ../$(PACKAGE)-$(PKGVERSION) -name '*.pm' | xargs perl -pi -e 's/\s*use\s+(diagnostics|strict|vars|warnings).*//g'
find ../$(PACKAGE)-$(PKGVERSION)/standalone -type f | xargs perl -pi -e 's/\s*use\s+(diagnostics|strict|vars|warnings).*//g'
+
+dont_run_directly_stage2:
+ rm -f $(DEST)/usr/bin/runinstall2
+ echo -e '#!/bin/sh\n\nexec "/usr/bin/sh"' > $(DEST)/usr/bin/runinstall2
+ chmod a+x $(DEST)/usr/bin/runinstall2