summaryrefslogtreecommitdiffstats
path: root/perl-install/live_install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-09-26 15:59:37 +0000
committerFrancois Pons <fpons@mandriva.com>2000-09-26 15:59:37 +0000
commitd6c00adf084ea92e1db0735ea8f0a19157882391 (patch)
tree527e1dda4ece96d385f54ae53a9e9902c05e9328 /perl-install/live_install
parent00b2517fe5a08028204f77ad8acff5872573202f (diff)
downloaddrakx-backup-do-not-use-d6c00adf084ea92e1db0735ea8f0a19157882391.tar
drakx-backup-do-not-use-d6c00adf084ea92e1db0735ea8f0a19157882391.tar.gz
drakx-backup-do-not-use-d6c00adf084ea92e1db0735ea8f0a19157882391.tar.bz2
drakx-backup-do-not-use-d6c00adf084ea92e1db0735ea8f0a19157882391.tar.xz
drakx-backup-do-not-use-d6c00adf084ea92e1db0735ea8f0a19157882391.zip
*** empty log message ***
Diffstat (limited to 'perl-install/live_install')
-rwxr-xr-xperl-install/live_install18
1 files changed, 17 insertions, 1 deletions
diff --git a/perl-install/live_install b/perl-install/live_install
index dcd211ea7..8ac72bb34 100755
--- a/perl-install/live_install
+++ b/perl-install/live_install
@@ -28,12 +28,28 @@ if [ -x "/tmp/drakx/mdkinst/usr/bin/perl-install/live_install2" ]; then
fi
ln -sf /tmp/drakx/mdkinst/usr/bin/packdrake /usr/bin/packdrake
+ for i in MonitorsDB CardsNames Cards+
+ do
+ if [ -e /usr/X11R6/lib/X11/$i ]; then
+ mv /usr/X11R6/lib/X11/$i /tmp/drakx/mdkinst
+ fi
+ ln -sf /tmp/drakx/mdkinst/usr/X11R6/lib/X11/$i /usr/X11R6/lib/X11/$i
+ done
+
# start DrakX
../../../lib/ld-linux.so.2 ../perl ./live_install2
+ for i in MonitorsDB CardsNames Cards+
+ do
+ rm -f /usr/X11R6/lib/X11/$i
+ if [ -e /tmp/drakx/mdkinst/$i ]; then
+ mv /tmp/drakx/mdkinst/$i /usr/X11R6/lin/X11/$i
+ fi
+ done
+
rm -f /usr/bin/packdrake
if [ -x /tmp/drakx/mdkinst/packdrake ]; then
- mv /tmp/drakx/mdkinst/packdrake.so /usr/bin/packdrake
+ mv /tmp/drakx/mdkinst/packdrake /usr/bin/packdrake
fi
rm -f $perlcoredir/libperl.so