Refactor 40-remove-packages.sh to clean up services

Removed service configuration commands and adjusted dnf5 clean command.
This commit is contained in:
humocs-man
2026-05-24 13:20:17 +02:00
committed by GitHub
parent 47d6e12049
commit 95749547d8
+18
View File
@@ -0,0 +1,18 @@
#!/usr/bin/bash
set -eoux pipefail
###############################################################################
# Cleanup of Unwanted Packages
###############################################################################
echo "Removing Firefox and langpacks..."
dnf5 remove -y \
firefox \
firefox-langpacks* \
plasma-discover \
plasma-discover-flatpak \
plasma-discover-notifier || true
rm -f /etc/xdg/autostart/org.kde.discover.notifier.desktop
dnf5 clean all