From c87b13a206479c013b67ef53c2ce0f2ff2eac9cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Schneider?= Date: Sun, 7 Jul 2013 19:58:07 +0200 Subject: [PATCH] Updated packaging scripts --- Core/Frameworks/Baikal/Scripts/package-flat.sh | 10 ++++++++++ Core/Frameworks/Baikal/Scripts/package-regular.sh | 4 ++++ 2 files changed, 14 insertions(+) diff --git a/Core/Frameworks/Baikal/Scripts/package-flat.sh b/Core/Frameworks/Baikal/Scripts/package-flat.sh index 1f8a35e..acf9649 100755 --- a/Core/Frameworks/Baikal/Scripts/package-flat.sh +++ b/Core/Frameworks/Baikal/Scripts/package-flat.sh @@ -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 && \ diff --git a/Core/Frameworks/Baikal/Scripts/package-regular.sh b/Core/Frameworks/Baikal/Scripts/package-regular.sh index b731ebf..9c7b7f6 100644 --- a/Core/Frameworks/Baikal/Scripts/package-regular.sh +++ b/Core/Frameworks/Baikal/Scripts/package-regular.sh @@ -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 && \