From 9b90ca2273b1ffa14ec2d3f2f62c651ea2596d6d Mon Sep 17 00:00:00 2001 From: "Jean (east-high-Nerd)" Date: Wed, 31 Dec 2025 16:00:46 -0500 Subject: [PATCH] Missing apps installed and 'gnome-software' and 'snapd' removed to bring custom installation in line with default --- elementary.sh | 33 +++++++++++++++++++++++++++++++++ install.sh | 6 ++++++ 2 files changed, 39 insertions(+) diff --git a/elementary.sh b/elementary.sh index cce5658..094920f 100755 --- a/elementary.sh +++ b/elementary.sh @@ -118,4 +118,37 @@ elif [[ "${1}" == '--network' ]]; then touch \ /etc/NetworkManager/conf.d/10-globally-managed-devices.conf +elif [[ "${1}" == '--apps' ]]; then + app=(\ +io.elementary.calculator \ +io.elementary.camera \ +io.elementary.capnet-assist \ +io.elementary.maps \ +io.elementary.music \ +io.elementary.screenshot \ +io.elementary.videos \ +org.gnome.Epiphany \ +org.gnome.Evince \ +org.gnome.FileRoller \ +org.gnome.font-viewer\ +) + + apps="app/${app[0]}" + + for ((i=1;i<${#app[@]};i++)); do + apps+=" app/${app[${i}]}" + done + + flatpak \ + install \ + appcenter \ + -y \ + ${apps} +elif [[ "${1}" == '--purge' ]]; then + apt \ + purge \ + --yes \ + --autoremove \ + gnome-software \ + snapd fi diff --git a/install.sh b/install.sh index 287bf8c..b64f91a 100755 --- a/install.sh +++ b/install.sh @@ -124,6 +124,12 @@ if [[ "${ID}" == 'debian' ]] || [[ "${ID}" == 'elementary' ]]; then "${baseDir}/debian.sh" --purge-os-prober fi +if [[ "${ID}" == 'elementary' ]]; then + "${baseDir}/elementary.sh" --purge + + "${baseDir}/elementary.sh" --apps +fi + printf \ '\033[?47h\033[2J\033[H'