script-system-update 349 B

1234567891011
  1. #!/usr/bin/env bash
  2. # Update the system
  3. # Copyright 2021-2025 Bryan C. Roessler
  4. # Licensed under the Apache License, Version 2.0
  5. p="${BASH_SOURCE[0]%/*}"; [[ -r $p/script-functions ]] && . "$p"/script-functions || exit 1
  6. is_root
  7. ask_ok "Security updates are automatically installed, perform a full system update?" || exit $?
  8. dnf update --refresh