Fix upgrade from previous versions
This commit is contained in:
@@ -70,10 +70,8 @@ ynh_install_app_dependencies make python-dev python-virtualenv \
|
||||
# Use 'FSyncMS' as database name and user
|
||||
db_user=$app
|
||||
db_name=$(ynh_sanitize_dbid $app)
|
||||
db_pwd=$(ynh_string_random)
|
||||
|
||||
ynh_app_setting_set "$app" db_name "$db_name"
|
||||
ynh_app_setting_set "$app" db_pwd "$db_name"
|
||||
ynh_mysql_setup_db "$db_user" "$db_name"
|
||||
|
||||
#=================================================
|
||||
@@ -182,6 +180,7 @@ yunohost service add "$app" -l /var/log/$app/$app.log
|
||||
# SETUP SSOWAT
|
||||
#=================================================
|
||||
|
||||
# accessible by everyone (authentification is done by firefox accounts)
|
||||
ynh_app_setting_set "$app" skipped_uris "/"
|
||||
|
||||
#=================================================
|
||||
|
||||
Reference in New Issue
Block a user