diff --git a/scripts/upgrade b/scripts/upgrade index d6bfcea..4259aba 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -40,21 +40,6 @@ chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" chmod +x $install_dir/smp-server -#================================================= -# SPECIFIC SETUP -#================================================= - -pushd "$install_dir" - public_ip4="$(curl -s ip.yunohost.org)" || true - ynh_app_setting_set --app=$app --key=public_ip4 --value=$public_ip4 - ./smp-server init --no-password --ip $public_ip4 -y -popd - -fingerprint=$(cat /etc/opt/simplex/fingerprint) -ynh_app_setting_set --app=$app --key=fingerprint --value=$fingerprint - -chown -R $app:$app "/etc/opt/simplex" - #================================================= # REAPPLY SYSTEM CONFIGURATIONS #=================================================