Skip to content
This repository has been archived by the owner on Nov 2, 2024. It is now read-only.

Commit

Permalink
fix: exclude gnome packages which should be flatpaks (#10)
Browse files Browse the repository at this point in the history
* fix: exclude gnome packages which should be flatpaks

* fix: move excludes to gnome install

* fix: exclude packagekit

* fix: packagekit name

* fix: skip broken package installs
  • Loading branch information
p5 authored Aug 18, 2024
1 parent d58f4df commit 7bfd9ce
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 2 deletions.
8 changes: 7 additions & 1 deletion scripts/_base/001-desktop-environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,11 @@

set -euox pipefail

excludes=()

# Make excludes a comma-separated string
excludes=$(IFS=, ; echo "${excludes[*]}")

# Install the base-graphical meta-package
dnf install -y @base-graphical
dnf install -y @base-graphical \
--exclude "${excludes}"
42 changes: 41 additions & 1 deletion scripts/_silverblue/001-desktop-environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,45 @@
set -euox pipefail

# Install the desktop environment
dnf install -y @gnome-desktop
excludes=(
"baobab"
"cheese"
"evince"
"evince-djvu"
"evince-nautilus"
"file-roller"
"file-roller-nautilus"
"gnome-boxes"
"gnome-calculator"
"gnome-calendar"
"gnome-characters"
"gnome-clocks"
"gnome-connections"
"gnome-contacts"
"gnome-documents"
"gnome-font-viewer"
"gnome-logs"
"gnome-maps"
"gnome-photos"
"gnome-screenshot"
"gnome-text-editor"
"gnome-weather"
"jwhois"
"loupe"
"rdist"
"sane-backends-drivers-scanners"
"simple-scan"
"snapshot"
"sushi"
"symlinks"
"tcpdump"
"telnet"
"totem"
"totem-nautilus"
"traceroute"

"PackageKit*"
)

dnf install -y @gnome-desktop --exclude "${excludes[*]}" --skip-broken
systemctl enable gdm.service

0 comments on commit 7bfd9ce

Please sign in to comment.