added package removal...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2025-11-03 02:43:41 +03:00
parent e228d6ceba
commit 667edd2364

View File

@ -79,6 +79,7 @@ FEATURES=(
flathub
dnf
dnf-remove
flatpak
npm
vim
@ -279,6 +280,12 @@ PKG_DNF=(
${PKG_DNF_LATEX[@]}
)
PKG_DNF_REMOVE=(
gnome-tour
gnome-shell-extension-background-logo
gnome-shell-extension-apps-menu
)
# XXX
PKG_TERMUX=(
@ -405,6 +412,8 @@ EOF
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# NOTE: if using exclude=... first remove the package and then add it
# to exclude=...
function feature-dnf-config(){
if [ -z "$(grep 'f_lynx/post-install' /etc/dnf/dnf.conf)" ] ; then
echo Updating config
@ -449,6 +458,9 @@ function feature-dnf(){
@ sudo dnf update ${DNF_ARGS}
@setupList sudo dnf install ${DNF_ARGS} - ${PKG_DNF[@]}
}
function feature-dnf-remove(){
@setupList sudo dnf remove ${DNF_ARGS} - ${PKG_DNF_REMOVE[@]}
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -