]> mj.ucw.cz Git - gallery.git/blobdiff - gal/Gallery/Archive.pm
Gallery2: Removed auto-generated comment at the top of gallery.list
[gallery.git] / 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; }
 }