From: xf0r3m Date: Fri, 23 Jun 2023 10:32:23 +0000 (+0200) Subject: Dodanie opcji -y do poleceń apt remove oraz apt autoremove X-Git-Url: https://gitweb.morketsmerke.org/?a=commitdiff_plain;h=ee0a62026177cd0397320f7e96a6a42def63af38;p=immudex-testing.git Dodanie opcji -y do poleceń apt remove oraz apt autoremove --- diff --git a/addons/iwlwifi b/addons/iwlwifi index cfb411e..6589ee4 100644 --- a/addons/iwlwifi +++ b/addons/iwlwifi @@ -35,9 +35,9 @@ EOF 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; diff --git a/addons/lampstack b/addons/lampstack index 7dab0ea..cbb45cf 100644 --- a/addons/lampstack +++ b/addons/lampstack @@ -41,12 +41,12 @@ EOF 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;