From 971d41aa5957212c27c28200703e8d5e54b45a4e Mon Sep 17 00:00:00 2001 From: Stew Benedict Date: Tue, 4 Feb 2003 00:26:02 +0000 Subject: Use system configs when wrapped in mcc. --- perl-install/standalone/drakbackup | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'perl-install/standalone') diff --git a/perl-install/standalone/drakbackup b/perl-install/standalone/drakbackup index cce16a67d..24a3eba35 100755 --- a/perl-install/standalone/drakbackup +++ b/perl-install/standalone/drakbackup @@ -257,7 +257,8 @@ my $vol_name = 'Drakbackup'; my $good_restore_path = 1; # allow not-root user with own config -if ($ENV{USER} ne 'root') { +if ($ENV{HOME} ne '/root') { + standalone::explanations("Running as $ENV{USER}..."); $cfg_dir = "$user_home/.drakbackup/"; $save_path = $cfg_dir . "backups"; -d $save_path or mkdir_p $save_path; @@ -4750,7 +4751,7 @@ N("Description: Drakbackup allows you to restore your system to a user selected directory. - Per default all backup will be stored on your + Per default all backups will be stored on your /var/lib/drakbackup directory Configuration file: -- cgit v1.2.1