From c889fdb50491cf823e2504973ae529197b6b10f8 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 9 Oct 2012 20:15:32 +0200 Subject: [PATCH] Gallery::Archive: Fix calls to archivers --- gal/Gallery/Archive.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gal/Gallery/Archive.pm b/gal/Gallery/Archive.pm index 6fb3457..764e243 100644 --- a/gal/Gallery/Archive.pm +++ b/gal/Gallery/Archive.pm @@ -28,9 +28,9 @@ sub Finish($) { STDOUT->flush(); chdir($CF{"PhotoDir"}) or die; if ($type eq "tar") { - system("/home/mj/bin/tar", "cf", "-", @{$this->{'files'}}); + system("tar", "cf", "-", @{$this->{'files'}}); } elsif ($type eq "zip") { - system("zip", "-", @{$this->{'files'}}); + system("zip", "-q", "-", @{$this->{'files'}}); } else { die; } } -- 2.39.2