From fa4f34f74659c2557600daa05d63a60b0119a4ab Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Sun, 16 Feb 2014 04:16:58 -0500
Subject: [PATCH] Fixed: FS#2967 - a few files left after uninstalling
---
install/uninstall.php | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/install/uninstall.php b/install/uninstall.php
index 96d98c7..6ef2145 100644
--- a/install/uninstall.php
+++ b/install/uninstall.php
@@ -75,6 +75,15 @@
// 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";
--
Gitblit v1.9.1