1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/blogotext_ynh.git synced 2024-09-03 18:15:52 +02:00

Update install

This commit is contained in:
ericgaspar 2020-12-07 12:13:16 +01:00
parent 94e9ddd4b8
commit ffba837014
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -122,21 +122,15 @@ ynh_local_curl "/admin/install.php?s=2&l=$language" "identifiant=$admin" "mdp=$p
#page 3 #page 3
ynh_local_curl "/admin/install.php?s=3&l=$language" "sgdb=mysql" "mysql_user=$db_user" "mysql_passwd=$db_pwd" "mysql_db=$db_name" "mysql_host=localhost" "langue=$language" "install_form_3_sended=1" ynh_local_curl "/admin/install.php?s=3&l=$language" "sgdb=mysql" "mysql_user=$db_user" "mysql_passwd=$db_pwd" "mysql_db=$db_name" "mysql_host=localhost" "langue=$language" "install_form_3_sended=1"
# Remove the public access
if [ $is_public -eq 0 ]
then
ynh_permission_update --permission "main" --remove "visitors"
fi
#================================================= #=================================================
# SETUP SSOWAT # SETUP SSOWAT
#================================================= #=================================================
ynh_script_progression --message="Configuring SSOwat..." ynh_script_progression --message="Configuring SSOwat..."
# Make app public if necessary or protect it # Make app public if necessary or protect it
if [ $is_public -eq 1 ] if [ $is_public -eq 0 ]
then then
ynh_permission_update --permission "main" --add "visitors" ynh_permission_update --permission "main" --remove "visitors"
fi fi
#================================================= #=================================================