From 3c59a80134817f2d8b1eb6a6dd3a70e81bf7755c Mon Sep 17 00:00:00 2001 From: cercatrova21 Date: Wed, 1 Mar 2023 16:03:35 +0100 Subject: [PATCH] update --- update.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/update.sh b/update.sh index 7f2d481..1d78907 100644 --- a/update.sh +++ b/update.sh @@ -2,3 +2,11 @@ sudo apt update sudo apt list --upgradable +echo "Would you like to upgrade? (Y/N): " +read upgrade +if [upgrade == "Y"] +then + sudo apt upgrade -y +fi + +