Add restart check to fedora system-update
This commit is contained in:
@@ -39,6 +39,7 @@ case $OS in
|
|||||||
Fedora\ Linux)
|
Fedora\ Linux)
|
||||||
dnf upgrade --refresh;
|
dnf upgrade --refresh;
|
||||||
flatpak update --assumeyes;
|
flatpak update --assumeyes;
|
||||||
|
dnf needs-restarting -r;
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Cannot update system with OS: " $OS
|
echo "Cannot update system with OS: " $OS
|
||||||
|
|||||||
Reference in New Issue
Block a user