1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gogs_ynh.git synced 2024-09-03 20:36:23 +02:00

Update restore

This commit is contained in:
ericgaspar 2022-01-11 12:00:50 +01:00
parent db86f855df
commit 70a7923920
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -27,10 +27,10 @@ ynh_abort_if_errors
ynh_script_progression --message="Loading installation settings..." --weight=1
# Retrieve old app settings
domain=$(ynh_app_setting_get "$app" domain)
path_url=$(ynh_app_setting_get "$app" path)
dbpass=$(ynh_app_setting_get "$app" mysqlpwd)
admin=$(ynh_app_setting_get "$app" adminusername)
domain=$(ynh_app_setting_get --app=$app --key=domain)
path_url=$(ynh_app_setting_get --app=$app --key=path)
dbpass=$(ynh_app_setting_get --app=$app --key=mysqlpwd)
admin=$(ynh_app_setting_get --app=$app --key=adminusername)
# Check user parameter
ynh_user_exists "$admin" || ynh_die "The chosen admin user does not exist."