mirror of
https://github.com/flynx/post-install.git
synced 2025-12-16 08:31:40 +00:00
added package removal...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
e228d6ceba
commit
667edd2364
12
post-install
12
post-install
@ -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[@]}
|
||||
}
|
||||
|
||||
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user