diff --git a/scripts/install b/scripts/install index b7f46ae..f7ed060 100755 --- a/scripts/install +++ b/scripts/install @@ -305,7 +305,7 @@ ynh_store_file_checksum "/etc/z-push/imap.conf.php" # Set permissions to app files #chown -R www-data: $final_path -chown -R www-data: "/var/log/z-push" +chown -R www-data: "/var/log/z-push/" chown -R www-data: "/var/lib/z-push/" #================================================= diff --git a/scripts/remove b/scripts/remove index 036e8ad..80ee074 100755 --- a/scripts/remove +++ b/scripts/remove @@ -103,6 +103,9 @@ ynh_remove_logrotate #ynh_secure_remove "/etc/cron.d/$app" # Remove a directory securely +rm -rf /etc/z-push/ +rm -rf /var/log/z-push/ +rm -rf /var/lib/z-push/ ynh_secure_remove "/etc/$app/" # Remove the log files