diff options
author | Francois Pons <fpons@mandriva.com> | 2000-09-26 13:05:52 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2000-09-26 13:05:52 +0000 |
commit | bee3b910c74791ba880782e0f77f7c0380f741a5 (patch) | |
tree | dd71492518d77f65a4ac4bcfb1bc03cf8f95a038 /perl-install/live_install | |
parent | d19f677a0b79901a36c0751827724d8819f81356 (diff) | |
download | drakx-backup-do-not-use-bee3b910c74791ba880782e0f77f7c0380f741a5.tar drakx-backup-do-not-use-bee3b910c74791ba880782e0f77f7c0380f741a5.tar.gz drakx-backup-do-not-use-bee3b910c74791ba880782e0f77f7c0380f741a5.tar.bz2 drakx-backup-do-not-use-bee3b910c74791ba880782e0f77f7c0380f741a5.tar.xz drakx-backup-do-not-use-bee3b910c74791ba880782e0f77f7c0380f741a5.zip |
*** empty log message ***
Diffstat (limited to 'perl-install/live_install')
-rwxr-xr-x | perl-install/live_install | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/perl-install/live_install b/perl-install/live_install index a9440db3e..dcd211ea7 100755 --- a/perl-install/live_install +++ b/perl-install/live_install @@ -15,19 +15,29 @@ done /bin/cp -a "$dir/../../Mandrake/mdkinst" "/tmp/drakx" if [ -x "/tmp/drakx/mdkinst/usr/bin/perl-install/live_install2" ]; then - $perlcoredir=/usr/lib/perl5/5.6.0/i386-linux/CORE + perlcoredir=/usr/lib/perl5/5.6.0/i386-linux/CORE cd /tmp/drakx/mdkinst/usr/bin/perl-install if [ -x $perlcoredir/libperl.so ]; then mv $perlcoredir/libperl.so /tmp/drakx/mdkinst - else - mkdir -p $perlcoredir - ln -sf /tmp/drakx/mdkinst/$perlcoredir/libperl.so $perlcoredir/libperl.so fi + mkdir -p $perlcoredir + ln -sf /tmp/drakx/mdkinst/$perlcoredir/libperl.so $perlcoredir/libperl.so + if [ -x /usr/bin/packdrake ]; then + mv /usr/bin/packdrake /tmp/drakx/mdkinst + fi + ln -sf /tmp/drakx/mdkinst/usr/bin/packdrake /usr/bin/packdrake + + # start DrakX ../../../lib/ld-linux.so.2 ../perl ./live_install2 + rm -f /usr/bin/packdrake + if [ -x /tmp/drakx/mdkinst/packdrake ]; then + mv /tmp/drakx/mdkinst/packdrake.so /usr/bin/packdrake + fi + rm -f $perlcoredir/libperl.so - if [ -x /tmp/drakx/mdkinst ]; then + if [ -x /tmp/drakx/mdkinst/libperl.so ]; then mv /tmp/drakx/mdkinst/libperl.so $perlcoredir/libperl.so fi else |