Update cc-cleaner.sh
This commit is contained in:
@@ -10,7 +10,7 @@ echo ""
|
|||||||
|
|
||||||
read -n 1 -p "Are you sure you wish to remove Cluster Control and all data (Y/n)?" choice
|
read -n 1 -p "Are you sure you wish to remove Cluster Control and all data (Y/n)?" choice
|
||||||
case "$choice" in
|
case "$choice" in
|
||||||
[Nn]) exit 0;;
|
[Nn]) echo ''; exit 0;;
|
||||||
* )
|
* )
|
||||||
apt remove --purge clustercontrol*
|
apt remove --purge clustercontrol*
|
||||||
apt remove --purge mysql-server*
|
apt remove --purge mysql-server*
|
||||||
@@ -27,6 +27,7 @@ case "$choice" in
|
|||||||
rm -Rf /var/www
|
rm -Rf /var/www
|
||||||
rm -Rf /etc/php
|
rm -Rf /etc/php
|
||||||
|
|
||||||
install-cc uninstall;;
|
install-cc uninstall
|
||||||
|
echo '';;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user