summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-03-09 14:21:30 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-03-09 14:21:30 +0000
commitc8dd6a00d88910e8029b616d42f8d0683be4290b (patch)
tree04d8aef63e728a329de1e2c5330865f085a86019 /perl-install/standalone
parent37eeb68f5460b8a53aa472c84354c5914c81b73a (diff)
downloaddrakx-backup-do-not-use-c8dd6a00d88910e8029b616d42f8d0683be4290b.tar
drakx-backup-do-not-use-c8dd6a00d88910e8029b616d42f8d0683be4290b.tar.gz
drakx-backup-do-not-use-c8dd6a00d88910e8029b616d42f8d0683be4290b.tar.bz2
drakx-backup-do-not-use-c8dd6a00d88910e8029b616d42f8d0683be4290b.tar.xz
drakx-backup-do-not-use-c8dd6a00d88910e8029b616d42f8d0683be4290b.zip
fix crash in wizard (#8654) (setVarsInSh use output instead of output_p...)
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakbackup1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/standalone/drakbackup b/perl-install/standalone/drakbackup
index 588236607..32dd16407 100755
--- a/perl-install/standalone/drakbackup
+++ b/perl-install/standalone/drakbackup
@@ -408,6 +408,7 @@ sub save_conf_file() {
$conf{OTHER_FILES} = list_to_conf(@other_files);
$conf{HOME_FILES} = list_to_conf(@user_list);
$conf{SYS_FILES} = list_to_conf(@sys_files);
+ mkdir_p($cfg_dir) if !-d $cfg_dir;
setVarsInSh($cfg_file, \%conf);
$conf{PASSWD} = $host_passwd if $conf{REMEMBER_PASS} != 1;
chmod(0600, $cfg_file);