1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/drupal_ynh.git synced 2024-09-03 18:35:53 +02:00

Fix install

This commit is contained in:
yalh76 2021-04-14 19:59:21 +02:00
parent f8dbe70af7
commit c90c37161e
2 changed files with 8 additions and 0 deletions

View file

@ -151,6 +151,10 @@ export PATH="$final_path/vendor/bin:$PATH"
#=================================================
ynh_script_progression --message="Installing Drupal..."
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
update-alternatives --set php /usr/bin/php$phpversion
pushd "$final_path"

View file

@ -131,6 +131,10 @@ ynh_script_progression --message="Upgrading Drupal..."
ynh_backup_if_checksum_is_different --file="$final_path/$app/sites/default/settings.php"
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
update-alternatives --set php /usr/bin/php$phpversion
pushd "$final_path"