]> mj.ucw.cz Git - gallery.git/commitdiff
Gallery::Archive: Fix calls to archivers
authorMartin Mares <mj@ucw.cz>
Tue, 9 Oct 2012 18:15:32 +0000 (20:15 +0200)
committerMartin Mares <mj@ucw.cz>
Sun, 8 Feb 2015 20:14:08 +0000 (21:14 +0100)
gal/Gallery/Archive.pm

index 6fb34571e3e685b5f1a73f849dbccb65e1a39730..764e24324487a33c179b4f53036d16f91a2558b3 100644 (file)
@@ -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; }
 }