diff --git a/cc-cleaner.sh b/cc-cleaner.sh index f38a8b6..4607550 100755 --- a/cc-cleaner.sh +++ b/cc-cleaner.sh @@ -12,11 +12,11 @@ read -n 1 -p "Are you sure you wish to remove Cluster Control and all data (Y/n) case "$choice" in [Nn]) echo ''; exit 0;; * ) - apt remove --purge clustercontrol* - apt remove --purge mysql-server* - apt remove --purge "mysql*" "*s9s*" apache2 "php*" + apt remove --purge -y clustercontrol* + apt remove --purge -y mysql-server* + apt remove --purge -y "mysql*" "*s9s*" apache2 "php*" - apt --purge autoremove + apt --purge -y autoremove apt clean rm -Rf /etc/cmon.d