Use xz as default compression format

This commit is contained in:
Daniel Berteaud 2016-05-11 16:30:20 +02:00
parent b164167729
commit 0937dfc694
1 changed files with 2 additions and 2 deletions

View File

@ -30,9 +30,9 @@ my $service = $c->get('ExpireAccounts') ||
my $warn_delay = $service->prop('WarningDelay') || '30';
my $recipient = $service->prop('WarningRecipient') || 'root';
my $days_between_warn = $service->prop('DaysBetweenWarnings') || '5';
my $archive_compress = $service->prop('ArchiveCompression') || '/usr/bin/pbzip2';
my $archive_compress = $service->prop('ArchiveCompression') || '/usr/bin/xz';
my $archive_path = $service->prop('ArchivePath') || '/home/e-smith/files/archives/users';
my $archive_ext = 'bz2';
my $archive_ext = 'xz';
if ( !-x $archive_compress ){
print "$archive_compress not found, switching back to the default /bin/gzip\n" if ($debug);