mirror of
https://github.com/YunoHost-Apps/snweb_ynh.git
synced 2024-09-03 20:26:22 +02:00
Fix upgrade script
This commit is contained in:
parent
ed38ef8585
commit
e414589ae0
1 changed files with 2 additions and 1 deletions
|
@ -23,6 +23,8 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
|||
port=$(ynh_app_setting_get --app=$app --key=port)
|
||||
snserver_domain=$(ynh_app_setting_get --app=$app --key=snserver_domain)
|
||||
|
||||
config_file="$final_path/live/.env"
|
||||
|
||||
#=================================================
|
||||
# CHECK VERSION
|
||||
#=================================================
|
||||
|
@ -162,7 +164,6 @@ popd
|
|||
#=================================================
|
||||
# MODIFY A CONFIG FILE
|
||||
#=================================================
|
||||
config_file="$final_path/live/.env"
|
||||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||
then
|
||||
ynh_script_progression --message="Modifying a config file..." --weight=2
|
||||
|
|
Loading…
Add table
Reference in a new issue