diff --git a/scripts/install b/scripts/install index bd5bac3..f7b1b4b 100644 --- a/scripts/install +++ b/scripts/install @@ -147,7 +147,7 @@ ynh_add_systemd_config ynh_script_progression --message="Setuping a cron..." --weight=1 ynh_add_config --template="../conf/cron_invidious" --destination="/etc/cron.d/$app" -chmod 0644 /etc/logrotate.d/$app +chmod 644 /etc/cron.d/$app #================================================= # SETUP LOGROTATE diff --git a/scripts/restore b/scripts/restore index b44ddb4..efa6c7b 100644 --- a/scripts/restore +++ b/scripts/restore @@ -131,7 +131,6 @@ ynh_restore_file --origin_path="/etc/cron.d/$app" #================================================= ynh_restore_file --origin_path="/etc/logrotate.d/$app" -chmod 0644 /etc/logrotate.d/$app #================================================= # GENERIC FINALIZATION