Missing apps installed and 'gnome-software' and 'snapd' removed to bring custom installation in line with default

This commit is contained in:
2025-12-31 16:00:46 -05:00
parent e952c663ad
commit 9b90ca2273
2 changed files with 39 additions and 0 deletions

View File

@@ -118,4 +118,37 @@ elif [[ "${1}" == '--network' ]]; then
touch \ touch \
/etc/NetworkManager/conf.d/10-globally-managed-devices.conf /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 fi

View File

@@ -124,6 +124,12 @@ if [[ "${ID}" == 'debian' ]] || [[ "${ID}" == 'elementary' ]]; then
"${baseDir}/debian.sh" --purge-os-prober "${baseDir}/debian.sh" --purge-os-prober
fi fi
if [[ "${ID}" == 'elementary' ]]; then
"${baseDir}/elementary.sh" --purge
"${baseDir}/elementary.sh" --apps
fi
printf \ printf \
'\033[?47h\033[2J\033[H' '\033[?47h\033[2J\033[H'