Refactor 40-remove-packages.sh to clean up services
Removed service configuration commands and adjusted dnf5 clean command.
This commit is contained in:
Executable
+18
@@ -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
|
||||
Reference in New Issue
Block a user