diff options
-rwxr-xr-x | perl-install/standalone/drakbackup | 5 |
1 files changed, 3 insertions, 2 deletions
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: |