Add tar in the archive extension
This commit is contained in:
parent
a30753dde8
commit
175aed3556
|
@ -123,7 +123,7 @@ foreach my $u (@delete){
|
||||||
}
|
}
|
||||||
my $archive = $user->prop('ExpireArchiveBeforeDelete') || 'yes';
|
my $archive = $user->prop('ExpireArchiveBeforeDelete') || 'yes';
|
||||||
if ( $archive =~ m/^yes|enabled|1|on$/ ){
|
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(
|
my $res = system(
|
||||||
'tar',
|
'tar',
|
||||||
'cf',
|
'cf',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user