1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tyto_ynh.git synced 2024-09-04 01:25:56 +02:00

Update install

This commit is contained in:
ericgaspar 2021-07-01 09:58:26 +02:00
parent 20f1ccac17
commit 895f19735b
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -64,7 +64,7 @@ ynh_setup_source --dest_dir="$final_path"
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
chown -R $app: "$final_path"
#=================================================
# NGINX CONFIGURATION
@ -82,8 +82,6 @@ ynh_script_progression --message="Configuring permissions..."
# Make app public if necessary
if [ $is_public -eq 1 ]
then
# Everyone can access the app.
# The "main" permission is automatically created before the install script.
ynh_permission_update --permission="main" --add="visitors"
fi
#=================================================