From 0937dfc694444865863bc3494d8fd14ad75c6486 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 11 May 2016 16:30:20 +0200 Subject: [PATCH] Use xz as default compression format --- root/sbin/e-smith/expire-accounts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/root/sbin/e-smith/expire-accounts b/root/sbin/e-smith/expire-accounts index c5ddeeb..c9b054c 100644 --- a/root/sbin/e-smith/expire-accounts +++ b/root/sbin/e-smith/expire-accounts @@ -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);