Add tar in the archive extension

tags/smeserver-expire-accounts-0.1.7-1 0.1.3_el5
Daniel Berteaud 9 years ago
parent a30753dde8
commit 175aed3556
  1. 2
      root/sbin/e-smith/expire-accounts

@ -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',

Loading…
Cancel
Save