diff --git a/scripts/pmauninstall.sh b/scripts/pmauninstall.sh index 6516244..bacaa40 100644 --- a/scripts/pmauninstall.sh +++ b/scripts/pmauninstall.sh @@ -25,7 +25,7 @@ sudo systemctl restart apache2 fi -if [ -n "$(dpkg --get-selections | grep nginx install)" ]; then +if [ -n "$(dpkg --get-selections | grep nginx)" ]; then sudo apt remove phpmyadmin -y sudo apt-get autoremove -y sudo rm -rf /usr/share/phpmyadmin/