Merge branch 'master' of github.com:flynx/post-install

This commit is contained in:
Alex A. Naanou 2025-11-04 17:54:11 +03:00
commit 0d6ba34a5c

View File

@ -85,6 +85,7 @@ FEATURES=(
flathub flathub
dnf dnf
dnf-remove
flatpak flatpak
npm npm
vim vim
@ -191,7 +192,7 @@ PKG_DNF=(
# networking... # networking...
syncthing syncthing
tor obfs4 tor obfs4 nyx
yt-dlp qbittorrent httrack yt-dlp qbittorrent httrack
# tools... # tools...
@ -233,7 +234,7 @@ PKG_DNF=(
terminus-fonts-grub2 terminus-fonts-grub2
# dev... # dev...
git git git-gui
nodejs golang nodejs golang
upx upx
@ -285,6 +286,12 @@ PKG_DNF=(
${PKG_DNF_LATEX[@]} ${PKG_DNF_LATEX[@]}
) )
PKG_DNF_REMOVE=(
gnome-tour
gnome-shell-extension-background-logo
gnome-shell-extension-apps-menu
)
# XXX # XXX
PKG_TERMUX=( PKG_TERMUX=(
@ -323,6 +330,9 @@ PKG_FLATPAK=(
ch.openboard.OpenBoard ch.openboard.OpenBoard
org.inkscape.Inkscape org.inkscape.Inkscape
org.blender.Blender org.blender.Blender
org.gimp.GIMP
org.freecad.FreeCAD
com.usebottles.bottles
) )
PKG_SNAP=( PKG_SNAP=(
@ -408,6 +418,8 @@ EOF
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# NOTE: if using exclude=... first remove the package and then add it
# to exclude=...
function feature-dnf-config(){ function feature-dnf-config(){
if [ -z "$(grep 'f_lynx/post-install' /etc/dnf/dnf.conf)" ] ; then if [ -z "$(grep 'f_lynx/post-install' /etc/dnf/dnf.conf)" ] ; then
echo Updating config echo Updating config
@ -452,6 +464,9 @@ function feature-dnf(){
@ sudo dnf update ${DNF_ARGS} @ sudo dnf update ${DNF_ARGS}
@setupList sudo dnf install ${DNF_ARGS} - ${PKG_DNF[@]} @setupList sudo dnf install ${DNF_ARGS} - ${PKG_DNF[@]}
} }
function feature-dnf-remove(){
@setupList sudo dnf remove ${DNF_ARGS} - ${PKG_DNF_REMOVE[@]}
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -