From 28d1d2ffb56250a55c5988fa07a7ec9ec0b556e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20Juri=C5=A1i=C4=87?= Date: Fri, 11 Mar 2022 10:36:31 +0100 Subject: [PATCH] Updated fresh script Removed firefox from net packages --- debian-clean-kde.sh | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/debian-clean-kde.sh b/debian-clean-kde.sh index bd8b7ab..1981da4 100755 --- a/debian-clean-kde.sh +++ b/debian-clean-kde.sh @@ -22,13 +22,7 @@ check_root() { exit fi } -package_firefox() { - if (dpkg --list 'firefox' | grep un | cut -f 3 -d ' ') 2>/dev/null; then - PKG_FIREFOX="firefox-esr" - else - PKG_FIREFOX="firefox" - fi -} + choice() { echo -ne "[y/n]" while true @@ -83,8 +77,7 @@ if choice 2>/dev/null; then $APT_INST $PKG_OFFICE fi -package_firefox -echo -ne "\nYou want to install internet programs ($PKG_FIREFOX $PKG_NET)? " +echo -ne "\nYou want to install internet programs ($PKG_NET)? " if choice 2>/dev/null; then echo -ne "\n$APT_INST $PKG_FIREFOX $PKG_NET\n" $APT_INST $PKG_FIREFOX $PKG_NET