aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-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