Created
May 27, 2025 01:53
-
-
Save Anonymo/013623c073e11146898c99ac0c31e83f to your computer and use it in GitHub Desktop.
fedora-offline-upgrade.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Fedora Offline Upgrade Script | |
# Safely download and apply system updates at next reboot. | |
set -e | |
echo "🛰️ Downloading available system updates..." | |
sudo dnf offline-upgrade download | |
echo "🔄 Scheduling reboot to apply updates..." | |
sudo dnf offline-upgrade reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment