mirror of
https://github.com/YunoHost-Apps/django_example_ynh.git
synced 2024-09-03 18:26:21 +02:00
Bugfix "change_url"
In `_common.sh` we have: ``` domain=$YNH_APP_ARG_DOMAIN path_url=$YNH_APP_ARG_PATH ``` Set these variables to the "NEW" ones. Another fix is: ```diff -path=$YNH_APP_NEW_PATH +path_url=$YNH_APP_NEW_PATH ``` to replace `__PATH_URL__` correctly!
This commit is contained in:
parent
045391398a
commit
cac792ce72
1 changed files with 4 additions and 1 deletions
|
@ -6,6 +6,9 @@
|
|||
# IMPORT GENERIC HELPERS
|
||||
#=================================================
|
||||
|
||||
YNH_APP_ARG_DOMAIN=$YNH_APP_NEW_DOMAIN
|
||||
YNH_APP_ARG_PATH=$YNH_APP_NEW_PATH
|
||||
|
||||
source _common.sh
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
|
@ -126,7 +129,7 @@ fi
|
|||
ynh_script_progression --message="Modify $app config file..."
|
||||
|
||||
domain=$YNH_APP_NEW_DOMAIN
|
||||
path=$YNH_APP_NEW_PATH
|
||||
path_url=$YNH_APP_NEW_PATH
|
||||
|
||||
ynh_add_config --template="settings.py" --destination="$final_path/settings.py"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue