summaryrefslogtreecommitdiffstats
path: root/perl-install/live_install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-10-03 12:54:40 +0000
committerFrancois Pons <fpons@mandriva.com>2000-10-03 12:54:40 +0000
commit385827763545e7cb5ba4ea2552e4a05831eb8c4c (patch)
treef4129f1fad3c3bbe1d3f1829e3bd0242dd4ad2ce /perl-install/live_install
parentf7febf094d24b0b36ab785e1a48c273680cc6dea (diff)
downloaddrakx-backup-do-not-use-385827763545e7cb5ba4ea2552e4a05831eb8c4c.tar
drakx-backup-do-not-use-385827763545e7cb5ba4ea2552e4a05831eb8c4c.tar.gz
drakx-backup-do-not-use-385827763545e7cb5ba4ea2552e4a05831eb8c4c.tar.bz2
drakx-backup-do-not-use-385827763545e7cb5ba4ea2552e4a05831eb8c4c.tar.xz
drakx-backup-do-not-use-385827763545e7cb5ba4ea2552e4a05831eb8c4c.zip
*** empty log message ***
Diffstat (limited to 'perl-install/live_install')
-rwxr-xr-xperl-install/live_install5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/live_install b/perl-install/live_install
index a98583690..74b4ff9c9 100755
--- a/perl-install/live_install
+++ b/perl-install/live_install
@@ -1,5 +1,10 @@
#!/bin/sh
+if [ "$UID" -ne 0 ]; then
+ echo >&2 "you need to be root to start live install"
+ exit 3
+fi
+
if [ -x ./Mandrake/mdkinst/usr/bin/perl-install/live_install2 ]; then
dir=`pwd`/Mandrake/mdkinst
elif [ -x ../../../../../Mandrake/mdkinst/usr/bin/perl-install/live_install2 ]; then