1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/z-push_ynh.git synced 2024-09-03 18:05:58 +02:00

Update removal

This commit is contained in:
Yalh 2019-01-27 02:15:57 +01:00
parent 4455e67fe4
commit a440a801ed
2 changed files with 4 additions and 1 deletions

View file

@ -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/"
#=================================================

View file

@ -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