aboutsummaryrefslogtreecommitdiffstats
path: root/tools/pwg_rel_create.sh
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-10-29 22:56:45 +0000
committerplegall <plg@piwigo.org>2010-10-29 22:56:45 +0000
commitdc6ab5c730badfe487df534afa138ed621b8ec70 (patch)
tree224699075d991a1432f995f67a63a75a9681165a /tools/pwg_rel_create.sh
parent42a61b5cb839fbb86a5a91faa8f3d0419e045554 (diff)
merge r7491 from branch 2.1 to trunk
new settings used to create Piwigo archives git-svn-id: http://piwigo.org/svn/trunk@7492 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rwxr-xr-xtools/pwg_rel_create.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/tools/pwg_rel_create.sh b/tools/pwg_rel_create.sh
index 4f62a914c..74f2ca768 100755
--- a/tools/pwg_rel_create.sh
+++ b/tools/pwg_rel_create.sh
@@ -31,9 +31,14 @@ cd $version
svn export http://piwigo.org/svn/tags/$tag piwigo
-# creating database.inc.php empty and writeable
-touch piwigo/local/config/database.inc.php
-chmod a+w piwigo/local/config/database.inc.php
+chmod -R a+w piwigo/local
+
+mkdir piwigo/_data
+chmod a+w piwigo/_data
+touch piwigo/_data/dummy.txt
+
+mkdir piwigo/upload
+chmod a+w piwigo/upload
zip -r $name.zip piwigo