fi;;
"remove") echo "Removing $(basename $0) addon...";
cat >> $(basename $0)_uninstaller << EOF
-apt remove firmware-iwlwifi;
+apt remove -y firmware-iwlwifi;
apt-get autoclean;
-apt-get autoremove;
+apt-get autoremove -y;
apt-get clean;
EOF
bash $(basename $0)_uninstaller;
cat >> $(basename $0)_uninstaller << EOF
apt-mark unhold libmecab2 libssl1.1 mecab-ipadic mecab-ipadic-utf8 mecab-utils mysql-client mysql-common mysql-community-client mysql-community-client-core mysql-community-client-plugins mysql-community-server mysql-community-server-core
-apt-get remove libssl1.1 mysql-client mysql-common mysql-community-client mysql-community-client-core mysql-community-client-plugins mysql-community-server mysql-community-server-core apache2 libapache2-mod-php php php-mysql mysql-apt-config
+apt-get remove -y libssl1.1 mysql-client mysql-common mysql-community-client mysql-community-client-core mysql-community-client-plugins mysql-community-server mysql-community-server-core apache2 libapache2-mod-php php php-mysql mysql-apt-config
-apt-get upgrade libmecab2 mecab-utils mecab-ipadic mecab-ipadic-utf8;
+apt-get upgrade -y libmecab2 mecab-utils mecab-ipadic mecab-ipadic-utf8;
apt-get autoclean
-apt-get autoremove
+apt-get autoremove -y
apt-get clean
EOF
bash $(basename $0)_uninstaller;