1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/garradin_ynh.git synced 2024-09-03 18:36:17 +02:00

cleaning old lines

This commit is contained in:
Robles Rodolphe 2020-04-29 02:51:54 +02:00
parent ecf2a8f8c0
commit a5c1e0806e
2 changed files with 0 additions and 29 deletions

View file

@ -48,7 +48,6 @@ ynh_script_progression --message="Storing installation settings..." --time --wei
ynh_app_setting_set --app=$app --key=domain --value=$domain
ynh_app_setting_set --app=$app --key=path --value=$path_url
#ynh_app_setting_set --app=$app --key=is_public --value=$is_public
#=================================================
# Install dependency to convert tracks to a readable format for the browser
@ -108,16 +107,6 @@ ynh_app_setting_delete --app=$app --key=skipped_uris
#=================================================
ynh_script_progression --message="Configuring permissions..." --time --weight=1
# if [ $is_public -eq 0 ]
# then # Remove the public access
# ynh_app_setting_delete $app skipped_uris
# fi
# # Make app public if necessary
# if [ $is_public -eq 1 ]
# then
# # unprotected_uris allows SSO credentials to be passed anyway.
# ynh_app_setting_set --app=$app --key=unprotected_uris --value="/"
# fi
# Make app public if necessary
if [ $is_public -eq 1 ]
then

View file

@ -37,15 +37,6 @@ upgrade_type=$(ynh_check_app_version_changed)
#=================================================
ynh_script_progression --message="Ensuring downward compatibility..." --time --weight=1
# # Fix is_public as a boolean value
# if [ "$is_public" = "Yes" ]; then
# ynh_app_setting_set --app=$app --key=is_public --value=1
# is_public=1
# elif [ "$is_public" = "No" ]; then
# ynh_app_setting_set --app=$app --key=is_public --value=0
# is_public=0
# fi
# If final_path doesn't exist, create it
if [ -z "$final_path" ]; then
final_path=/var/www/$app
@ -207,15 +198,6 @@ chmod 755 $final_path -R
#=================================================
ynh_script_progression --message="Upgrading permissions configuration..." --time --weight=1
# # Make app public if necessary
# if [ $is_public -eq 1 ]
# then
# # unprotected_uris allows SSO credentials to be passed anyway
# ynh_app_setting_set --app=$app --key=unprotected_uris --value="/"
# fi
# Create the visitors permission if needed
if ! ynh_permission_exists --permission "visitors"; then
ynh_permission_create --permission "visitors"