don't display files while extracting, remove IncrementTempDir after finish
git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@357
8392b6e1-25fa-0310-8288-
cc32f8e212ea
print "restoring $path\n";
- my $cmd = "cd $inc_tmp_dir && tar xvfz $path";
+ my $cmd = "cd $inc_tmp_dir && tar xfz $path";
system($cmd) == 0 or die "can't execute: $cmd -- $?\n";
print "starting import into BackupPC pool\n";
}
#unlink $config_file || die "can't remove $config_file: $!";
+
+rmtree($inc_tmp_dir) if (-e $inc_tmp_dir);