mirror of
https://github.com/YunoHost-Apps/lychee_ynh.git
synced 2024-09-03 19:36:36 +02:00
Fix
This commit is contained in:
parent
a08c7ab344
commit
041016d337
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue