aboutsummaryrefslogtreecommitdiffstats
path: root/tools/pwg_rel_create.sh
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-10-29 22:56:10 +0000
committerplegall <plg@piwigo.org>2010-10-29 22:56:10 +0000
commitf51a0b33c96c54d35d2318838ac769e1fbb3b786 (patch)
tree4579da6e9d39481e386c5139c3f3ffee8cc5a668 /tools/pwg_rel_create.sh
parentfe0d5b7547822f43895723b4cee35a84e803ca25 (diff)
new settings used to create Piwigo archives
git-svn-id: http://piwigo.org/svn/branches/2.1@7491 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'tools/pwg_rel_create.sh')
-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