Add tar in the archive extension

This commit is contained in:
Daniel Berteaud 2016-04-12 08:45:17 +02:00
parent a30753dde8
commit 175aed3556
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ foreach my $u (@delete){
}
my $archive = $user->prop('ExpireArchiveBeforeDelete') || 'yes';
if ( $archive =~ m/^yes|enabled|1|on$/ ){
my $tar = $archive_path . '/' . $u . '-' . $now->ymd . '.' . $archive_ext;
my $tar = $archive_path . '/' . $u . '-' . $now->ymd . '.tar.' . $archive_ext;
my $res = system(
'tar',
'cf',