X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=inline;f=gal%2FGallery%2FArchive.pm;h=764e24324487a33c179b4f53036d16f91a2558b3;hb=007f7a52da1cfc87f33de07fc873d0fac46558b4;hp=6fb34571e3e685b5f1a73f849dbccb65e1a39730;hpb=3e9b035a84f3754fe26d42a1082f8fa05a97273d;p=gallery.git 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; } }