1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pixelfed_ynh.git synced 2024-09-03 20:06:04 +02:00

fix chmod syntax + remove typo

This commit is contained in:
lapineige 2023-02-18 20:26:15 +01:00 committed by GitHub
parent fa8fd46fae
commit 68924109ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -152,7 +152,7 @@ chmod 750 "$final_path"
chmod -R o-rwx "$final_path" chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path" chown -R $app:www-data "$final_path"
# Pixelfed app should be able to edit its settings from the admin panel # Pixelfed app should be able to edit its settings from the admin panel
chmod -R 600 "$final_path"/.env chmod 600 "$final_path"/.env
#================================================= #=================================================
# UPGRADE DEPENDENCIES # UPGRADE DEPENDENCIES
@ -223,7 +223,7 @@ ynh_script_progression --message="Creating log file..." --weight=1
mkdir -p "/var/log/$app/" mkdir -p "/var/log/$app/"
touch "/var/log/$app/${app}-horizon.log" touch "/var/log/$app/${app}-horizon.log"
chown -R $app: "/var/log/$app/" chown -R $app: "/var/log/$app/"
chmod 600 $app: "/var/log/$app/" chmod -R 600 $app: "/var/log/$app/"
#================================================= #=================================================
# UPGRADE THE CRON FILE # UPGRADE THE CRON FILE