1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lychee_ynh.git synced 2024-09-03 19:36:36 +02:00
This commit is contained in:
ericgaspar 2021-01-28 13:42:06 +01:00
parent a08c7ab344
commit 041016d337
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 4 additions and 4 deletions

View file

@ -147,18 +147,18 @@ ynh_store_file_checksum "$final_path/.env"
# Set permissions to app files # Set permissions to app files
chown -R $app: $final_path chown -R $app: $final_path
chown -R $app: ${public_path} chown -R $app: $public_path
chmod -R 755 ${public_path} chmod -R 755 ${public_path}
#================================================= #=================================================
# SETUP SSOWAT # SETUP SSOWAT
#================================================= #=================================================
ynh_script_progression --message="Configuring SSOwat..." --weight=1 ynh_script_progression --message="Configuring permissions..." --weight=1
# 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 1 ]
then then
ynh_permission_update --permission "main" --add "visitors" ynh_permission_update --permission="main" --add="visitors"
fi fi
#================================================= #=================================================

View file

@ -136,7 +136,7 @@ ynh_install_composer
ynh_exec_warn_less ynh_composer_exec --commands=\"dump-autoload\" ynh_exec_warn_less ynh_composer_exec --commands=\"dump-autoload\"
pushd "$final_path" pushd $final_path
php$phpversion artisan migrate -n --force php$phpversion artisan migrate -n --force
php$phpversion artisan config:clear -n php$phpversion artisan config:clear -n
php$phpversion artisan config:cache -n php$phpversion artisan config:cache -n