From 3d814d57dc9b594c5d3ac148a53a229d6208e1e4 Mon Sep 17 00:00:00 2001 From: JensDiemer Date: Sun, 14 Aug 2022 17:22:59 +0200 Subject: [PATCH] fix "$final_path/local_settings.py" --- scripts/install | 3 ++- scripts/upgrade | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index a808194..5ffe769 100755 --- a/scripts/install +++ b/scripts/install @@ -140,7 +140,8 @@ ynh_add_config --template="settings.py" --destination="$final_path/settings.py" ynh_add_config --template="setup_user.py" --destination="$final_path/setup_user.py" ynh_add_config --template="urls.py" --destination="$final_path/urls.py" ynh_add_config --template="wsgi.py" --destination="$final_path/wsgi.py" -ynh_add_config --template="local_settings.py" --destination="$final_path/local_settings.py" + +touch "$final_path/local_settings.py" #================================================= # MIGRATE / COLLECTSTATIC / CREATEADMIN diff --git a/scripts/upgrade b/scripts/upgrade index de9ec43..27bbe71 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -132,7 +132,6 @@ ynh_add_config --template="settings.py" --destination="$final_path/settings.py" ynh_add_config --template="setup_user.py" --destination="$final_path/setup_user.py" ynh_add_config --template="urls.py" --destination="$final_path/urls.py" ynh_add_config --template="wsgi.py" --destination="$final_path/wsgi.py" -ynh_add_config --template="local_settings.py" --destination="$final_path/local_settings.py" #================================================= # MIGRATE PYINVENTORY