From f0ef723854e4f951dc8dc5cfbc40cefeeeed16e4 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Sun, 12 May 2019 18:36:41 -0500 Subject: [PATCH] Add blank env and config files, check those permissions in the installer --- .travis/deploy_script.sh | 4 ++++ modules/Installer/Config/config.php | 2 ++ 2 files changed, 6 insertions(+) diff --git a/.travis/deploy_script.sh b/.travis/deploy_script.sh index fcbb724c..e6d4a9de 100755 --- a/.travis/deploy_script.sh +++ b/.travis/deploy_script.sh @@ -99,6 +99,10 @@ if [ "$TRAVIS" = "true" ]; then composer dump-autoload make clean + # Create a blank env.php file and config.php file + touch env.php; chmod 775 env.php + touch config.php; chmod 775 config.php + echo "Creating Tarball" cd /tmp tar -czf $TAR_NAME -C $TRAVIS_BUILD_DIR/../ phpvms diff --git a/modules/Installer/Config/config.php b/modules/Installer/Config/config.php index a0ffa1e1..72f8f13c 100644 --- a/modules/Installer/Config/config.php +++ b/modules/Installer/Config/config.php @@ -17,6 +17,8 @@ return [ # Make sure these are writable 'permissions' => [ + 'env.php', + 'config.php', 'bootstrap/cache', 'public/uploads', 'storage',