]> gitweb.fluxo.info Git - puppet-pmwiki.git/commitdiff
Adding -o option to unzip.
authordrebs <drebs@riseup.net>
Tue, 16 Feb 2010 21:45:30 +0000 (19:45 -0200)
committerdrebs <drebs@riseup.net>
Tue, 16 Feb 2010 21:45:30 +0000 (19:45 -0200)
templates/pmwiki.sh.erb

index 7769dcd91000505d88bfcd05c7252b105bd47e20..49accdee82993007f50ce7919a295c8ddfad8e8a 100644 (file)
@@ -29,7 +29,7 @@ function pmwiki_deploy {
   wget http://pmwiki.org/pub/pmwiki/pmwiki-$new.tgz
   wget http://pmwiki.org/pub/pmwiki/i18n/i18n-all.zip
   tar zxvf pmwiki-$new.tgz && rm pmwiki-$new.tgz
-  ( cd pmwiki-$new && unzip ../i18n-all.zip && rm $_ )
+  ( cd pmwiki-$new && unzip -o ../i18n-all.zip && rm $_ )
   chown -R root.root pmwiki-$new/
 }