From: Martin Mares Date: Tue, 9 Oct 2012 18:15:32 +0000 (+0200) Subject: Gallery::Archive: Fix calls to archivers X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=c889fdb50491cf823e2504973ae529197b6b10f8;hp=c755ba2cea3880eba6c150091986cde6960f9b38;p=gallery.git Gallery::Archive: Fix calls to archivers --- 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; } }