From fa4f34f74659c2557600daa05d63a60b0119a4ab Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Sun, 16 Feb 2014 10:16:58 +0100
Subject: [PATCH] Fixed: FS#2967 - a few files left after uninstalling

---
 install/uninstall.php | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/install/uninstall.php b/install/uninstall.php
index 96d98c7cad..6ef2145cdd 100644
--- a/install/uninstall.php
+++ b/install/uninstall.php
@@ -75,6 +75,15 @@ exec("/etc/init.d/mysql start");
 // Delete the ispconfig files
 exec('rm -rf /usr/local/ispconfig');
 
+// Delete various other files
+@unlink("/usr/local/bin/ispconfig_update.sh");
+@unlink("/usr/local/bin/ispconfig_update_from_svn.sh");
+@unlink("/var/spool/mail/ispconfig");
+@unlink("/var/www/ispconfig");
+@unlink("/var/www/php-fcgi-scripts/ispconfig");
+@unlink("/var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter");
+
+echo "Backups in /var/backup/ and log files in /var/log/ispconfig are not deleted.";
 echo "Please do not forget to delete the ispconfig user in the mysql.user table.\n\n";
 
 echo "Finished.\n";
-- 
GitLab