summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-08 15:54:43 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-08 15:54:43 +0000
commitc6516cac2eb5f8953ab1fcda1c65c623c692910c (patch)
treec5cd205c6e1593d1f77df63727d1b06258035e0a
parentd27835dbdf4ec277591ffa68e4233f869f3f6a9f (diff)
downloaddrakx-c6516cac2eb5f8953ab1fcda1c65c623c692910c.tar
drakx-c6516cac2eb5f8953ab1fcda1c65c623c692910c.tar.gz
drakx-c6516cac2eb5f8953ab1fcda1c65c623c692910c.tar.bz2
drakx-c6516cac2eb5f8953ab1fcda1c65c623c692910c.tar.xz
drakx-c6516cac2eb5f8953ab1fcda1c65c623c692910c.zip
merge back drakbacup update
-rwxr-xr-xperl-install/standalone/drakbackup2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakbackup b/perl-install/standalone/drakbackup
index e6eb24a49..33ebb909f 100755
--- a/perl-install/standalone/drakbackup
+++ b/perl-install/standalone/drakbackup
@@ -274,7 +274,7 @@ my $time_string = "* * * * *";
my $exec_string = "export USER=$ENV{USER}; /usr/sbin/drakbackup --daemon > /dev/null 2>&1";
# allow not-root user with own config
-if ($ENV{HOME} ne '/root') {
+if ($ENV{USER} ne 'root' && $ENV{HOME} ne '/root') {
standalone::explanations("Running as $ENV{USER}...");
#- doesn't get defined when run from cron
$user_home = "/home/$ENV{USER}" if $user_home eq '';