mirror of
https://github.com/YunoHost-Apps/simplex_ynh.git
synced 2024-09-03 20:26:28 +02:00
Update upgrade
This commit is contained in:
parent
eaf95acb43
commit
3fe727fb0f
1 changed files with 2 additions and 5 deletions
|
@ -23,11 +23,8 @@ ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
||||||
public_ip4="$(curl -s ip.yunohost.org)" || true
|
public_ip4="$(curl -s ip.yunohost.org)" || true
|
||||||
ynh_app_setting_set --app=$app --key=public_ip4 --value=$public_ip4
|
ynh_app_setting_set --app=$app --key=public_ip4 --value=$public_ip4
|
||||||
|
|
||||||
# If fingerprint doesn't exist, create it
|
|
||||||
if [ -z "$fingerprint" ]; then
|
|
||||||
fingerprint=$(cat /etc/opt/simplex/fingerprint)
|
fingerprint=$(cat /etc/opt/simplex/fingerprint)
|
||||||
ynh_app_setting_set --app=$app --key=fingerprint --value=$fingerprint
|
ynh_app_setting_set --app=$app --key=fingerprint --value=$fingerprint
|
||||||
fi
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STANDARD UPGRADE STEPS
|
# STANDARD UPGRADE STEPS
|
||||||
|
|
Loading…
Add table
Reference in a new issue