]> gitweb.morketsmerke.org Git - immudex-testing.git/commitdiff
Dodanie opcji -y do poleceń apt remove oraz apt autoremove
authorxf0r3m <jakubstasinski@protonmail.com>
Fri, 23 Jun 2023 10:32:23 +0000 (12:32 +0200)
committerxf0r3m <jakubstasinski@protonmail.com>
Fri, 23 Jun 2023 10:32:23 +0000 (12:32 +0200)
addons/iwlwifi
addons/lampstack

index cfb411e7b1a977a2ab04fe2c1b4af6ca56d6d145..6589ee44388f4131d094fbdd10165a877f7ccc9d 100644 (file)
@@ -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;
index 7dab0eaaa715fa84b6ace126ef6f8a4c3c0b1e8c..cbb45cff33285243af10f871658f7fd5d7fa6036 100644 (file)
@@ -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;