mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Use config_distro.py for all settings, and don't create/overwrite config_local.py. Partly fixes #1849
This commit is contained in:
committed by
Dave Page
parent
19df1e3f4b
commit
a1c0042a1e
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user