Updated packaging scripts

Former-commit-id: c87b13a206
This commit is contained in:
Jérôme Schneider 2013-07-07 19:58:07 +02:00
parent b8a0b0333d
commit 565d64fe5f
2 changed files with 14 additions and 0 deletions

View file

@ -46,6 +46,12 @@ rm -Rf Core/Frameworks/BaikalAdmin/WWWRoot && \
# Cleaning Specific/Virtualhosts
rm -Rf Specific/virtualhosts && \
# Installing dependencies (composer)
composer install && \
# Removing composer stuff
rm -f composer.* && \
# Moving HTML roots
mv html/* . && \
mv html/.htaccess . && \
@ -60,6 +66,10 @@ mv Core/Distrib2.php Core/Distrib.php && \
mkdir -p Specific/db && \
cp Core/Resources/Db/SQLite/db.sqlite Specific/db && \
# Add ENABLE_INSTALL
touch Specific/ENABLE_INSTALL && \
# Zipping package
cd .. && \
mv $TEMPDIR baikal-flat && \

View file

@ -33,6 +33,10 @@ rm -Rf Core/Frameworks/Baikal/Scripts && \
mkdir -p Specific/db && \
cp Core/Resources/Db/SQLite/db.sqlite Specific/db && \
# Add ENABLE_INSTALL
touch Specific/ENABLE_INSTALL && \
# GZipping package
cd .. && \
mv $TEMPDIR baikal-regular && \