Use config_distro.py for all settings, and don't create/overwrite config_local.py. Partly fixes #1849

This commit is contained in:
Sandeep Thakkar
2016-10-19 14:10:28 +01:00
committed by Dave Page
parent 19df1e3f4b
commit a1c0042a1e
2 changed files with 3 additions and 6 deletions

View File

@@ -156,9 +156,9 @@ _complete_bundle() {
cp -r $SOURCEDIR/web "$BUILDROOT/$APP_BUNDLE_NAME/Contents/Resources/" || exit 1
cd "$BUILDROOT/$APP_BUNDLE_NAME/Contents/Resources/web"
rm -f pgadmin4.db config_local.*
echo "SERVER_MODE = False" > config_local.py
echo "MINIFY_HTML = False" >> config_local.py
echo "HELP_PATH = '../../../docs/en_US/html/'" >> config_local.py
echo "SERVER_MODE = False" > config_distro.py
echo "MINIFY_HTML = False" >> config_distro.py
echo "HELP_PATH = '../../../docs/en_US/html/'" >> config_distro.py
# Remove the .pyc files if any
cd "$BUILDROOT/$APP_BUNDLE_NAME"