diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-09-03 06:28:22 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-09-03 06:28:22 +0000 |
commit | 1d1c54ecbc4279eb63af02aa6fe12ef2c41c5975 (patch) | |
tree | b0f8f0c55cb3c66b09f2854a2bcb996162585bb4 /perl-install | |
parent | d29bd078f783a8a6d8b057f1748a0a9d30e24eea (diff) | |
download | drakx-backup-do-not-use-1d1c54ecbc4279eb63af02aa6fe12ef2c41c5975.tar drakx-backup-do-not-use-1d1c54ecbc4279eb63af02aa6fe12ef2c41c5975.tar.gz drakx-backup-do-not-use-1d1c54ecbc4279eb63af02aa6fe12ef2c41c5975.tar.bz2 drakx-backup-do-not-use-1d1c54ecbc4279eb63af02aa6fe12ef2c41c5975.tar.xz drakx-backup-do-not-use-1d1c54ecbc4279eb63af02aa6fe12ef2c41c5975.zip |
make dont_run_directly_stage2 keep runinstall2 as a symlink
(since mdkstage1 check it is a symlink)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile index e6cb9e2b6..080762237 100644 --- a/perl-install/Makefile +++ b/perl-install/Makefile @@ -268,9 +268,9 @@ nuke_perl: 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/busybox sh' > $(DEST)/usr/bin/runinstall2 - chmod a+x $(DEST)/usr/bin/runinstall2 + echo -e '#!/bin/sh\n\nexec /usr/bin/busybox sh' > $(DEST)/usr/bin/runinstall2.sh + chmod a+x $(DEST)/usr/bin/runinstall2.sh + ln -sf runinstall2.sh $(DEST)/usr/bin/runinstall2 trace_stage2: eval `perl -V:vendorlib`; install -m 644 -D $$vendorlib/Devel/Trace.pm $(DEST)$$vendorlib/Devel/Trace.pm |