#!/bin/sh message=/usr/X11R6/bin/gmessage [ -x $message ] || message=/usr/X11R6/bin/xmessage [ -x $message ] || unset message if [ "$UID" -ne 0 ]; then if [ -x "$message" ]; then case "$LANG" in fr*) buttons="Arrêter:0" msg="Mise à jour en direct de Linux-Mandrake. Vous devez être l'utilisateur root pour lancer cette application." ;; *) buttons="Abort:0" msg="Linux-Mandrake live upgrade. You need to be root to start this program." ;; esac $message -buttons "$buttons" -print "$msg" else echo >&2 "You need to be root to start this program." fi exit 3 fi if [ ! -x "/mnt/cdrom/Mandrake/mdkinst/usr/bin/perl-install/live_install" ]; then if [ -x "$message" ]; then case "$LANG" in fr*) buttons="Arrêter:0" msg="Mise à jour en direct de Linux-Mandrake. Impossible de trouver le Cédérom d'installation de Linux-Mandrake dans le premier lecteur." ;; *) buttons="Abort:0" msg="Linux-Mandrake live upgrade. Unable to find Linux-Mandrake Installation Cd-Rom in the first drive." ;; esac $message -buttons "$buttons" -print "$msg" else echo >&2 "Unable to find Linux-Mandrake Installation Cd-Rom in the first drive." fi exit 2 fi if [ -x "$message" ]; then case "$LANG" in fr*) buttons="Mise à jour:0,Annuler:1" msg="Mise à jour en direct de Linux-Mandrake. Appuyez sur \"Mise à jour\" pour lancer la mise à jour de votre système, cela prendra quelques minutes avant que l'écran de DrakX apparaisse. Appuyez sur \"Annuler\" pour ne pas mettre à jour votre système de cette manière." ;; *) buttons="Upgrade:0,Cancel:1" msg="Linux-Mandrake live upgrade. Press \"Upgrade\" to start live upgrade on your system, note this will take some time to prepare the system before DrakX screen appears. Press \"Cancel\" to avoid upgrading your system this way." ;; esac default=`echo $buttons | cut -d: -f1` $message -buttons "$buttons" -default "$default" -print "$msg" [ $? -ne 0 ] && exit 1 else echo >&2 "Press ENTER to start live upgrade on your system, note this will take some time to prepare the system before DrakX screen appears. Press CTRL-C to avoid upgrading your system this way." fi cd /mnt/cdrom/Mandrake/mdkinst/usr/bin/perl-install && exec ./live_install exit 2 lue='topic/MDK92-branch'>topic/MDK92-branch Mageia Installer and base platform for many utilitiesThierry Vignaud [tv]
summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2004-02-19 19:41:30 +0000
committerPablo Saratxaga <pablo@mandriva.com>2004-02-19 19:41:30 +0000
commit4d27d7ee5c37eab43f910cd6eec9fc93fda9aed2 (patch)
tree4bca2c2ee3703fc9c7d1640a7e74b1fea0229c56 /perl-install
parent1cbb512c517e0126d5abcddf8b26013b90a64283 (diff)
downloaddrakx-4d27d7ee5c37eab43f910cd6eec9fc93fda9aed2.tar
drakx-4d27d7ee5c37eab43f910cd6eec9fc93fda9aed2.tar.gz
drakx-4d27d7ee5c37eab43f910cd6eec9fc93fda9aed2.tar.bz2
drakx-4d27d7ee5c37eab43f910cd6eec9fc93fda9aed2.tar.xz
drakx-4d27d7ee5c37eab43f910cd6eec9fc93fda9aed2.zip
updated pot file
Diffstat (limited to 'perl-install')