Compare commits
5
Commits
fec520be9d
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
482bd797d0 | ||
|
|
f08abda392 | ||
|
|
6733cde613 | ||
|
|
64fff4f200 | ||
|
|
17d09d985e |
@@ -395,6 +395,9 @@ fi
|
|||||||
#------------------------------------------
|
#------------------------------------------
|
||||||
# Add a category here and it is installed on every run, no questions asked.
|
# Add a category here and it is installed on every run, no questions asked.
|
||||||
# Keep each category one line so diffs stay readable.
|
# Keep each category one line so diffs stay readable.
|
||||||
|
# A line that is a dnf comps GROUP is written "@group" (e.g. "@multimedia");
|
||||||
|
# the loop below routes it through install_group, which reports a bad group
|
||||||
|
# name with the list of groups this system actually has.
|
||||||
ALWAYS_PACKAGES=(
|
ALWAYS_PACKAGES=(
|
||||||
# Terminals
|
# Terminals
|
||||||
"ghostty ghostty-bash-completion zsh zsh-syntax-highlighting"
|
"ghostty ghostty-bash-completion zsh zsh-syntax-highlighting"
|
||||||
@@ -403,17 +406,21 @@ ALWAYS_PACKAGES=(
|
|||||||
"python3-pylint qt6-qtsvg qt6-qtvirtualkeyboard qt6-qtmultimedia catfish galculator NetworkManager network-manager-applet"
|
"python3-pylint qt6-qtsvg qt6-qtvirtualkeyboard qt6-qtmultimedia catfish galculator NetworkManager network-manager-applet"
|
||||||
"pipewire pipewire-alsa pipewire-pulse wireplumber pavucontrol playerctl gparted"
|
"pipewire pipewire-alsa pipewire-pulse wireplumber pavucontrol playerctl gparted"
|
||||||
"system-config-printer system-config-printer-applet system-config-printer-libs ripgrep meld btop htop"
|
"system-config-printer system-config-printer-applet system-config-printer-libs ripgrep meld btop htop"
|
||||||
|
"gcc gcc-c++ make python3-devel libX11-devel libXi-devel"
|
||||||
# File Managers
|
# File Managers
|
||||||
"thunar thunar-archive-plugin thunar-volman baobab gvfs-smb squashfs-tools"
|
"thunar thunar-archive-plugin thunar-volman baobab gvfs-smb squashfs-tools cifs-utils papirus-icon-theme"
|
||||||
# Internet
|
# Internet
|
||||||
"wget"
|
"wget"
|
||||||
# Compression tools
|
# Compression tools
|
||||||
# (p7zip was RETIRED in Fedora 44; '7zip' is the official replacement)
|
|
||||||
"zip gzip 7zip unace unrar xarchiver"
|
"zip gzip 7zip unace unrar xarchiver"
|
||||||
# Office and Editors
|
# Office and Editors
|
||||||
"libreoffice"
|
"libreoffice"
|
||||||
# Multimedia
|
# Multimedia
|
||||||
"mpv"
|
"mpv gstreamer1-plugin-openh264 mozilla-openh264"
|
||||||
|
# Multimedia codecs: dnf comps group 'multimedia' (the group Fedora's own
|
||||||
|
# docs recommend for playing movies/music). It is a GROUP, not a package,
|
||||||
|
# so it gets its own line — and the loop below sends it to install_group.
|
||||||
|
"@multimedia"
|
||||||
)
|
)
|
||||||
|
|
||||||
step "6 Always-installed packages"
|
step "6 Always-installed packages"
|
||||||
@@ -421,6 +428,17 @@ rule
|
|||||||
|
|
||||||
always_failed=""
|
always_failed=""
|
||||||
for category in "${ALWAYS_PACKAGES[@]}"; do
|
for category in "${ALWAYS_PACKAGES[@]}"; do
|
||||||
|
# A "@group" line is a dnf comps group. install_group checks the group
|
||||||
|
# exists first and prints the real group list when it does not, instead
|
||||||
|
# of dnf's unhelpful "No match for argument: @multimedia".
|
||||||
|
if [[ "$category" == @* ]]; then
|
||||||
|
if ! install_group "${category#@}"; then
|
||||||
|
color_red " Failed: group ${category}"
|
||||||
|
always_failed="yes"
|
||||||
|
pause_if_debug
|
||||||
|
fi
|
||||||
|
continue
|
||||||
|
fi
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
if ! install_packages $category; then
|
if ! install_packages $category; then
|
||||||
color_red " Failed: $category"
|
color_red " Failed: $category"
|
||||||
|
|||||||
Reference in New Issue
Block a user