From e9afbff19ab27766a384e9ede3c311a29ba874a7 Mon Sep 17 00:00:00 2001 From: Typas Liao Date: Sat, 2 May 2026 22:23:38 +0800 Subject: [PATCH] fix(bootstrap/shared): full upgrade in init.sh for all distros - opensuse-tumbleweed: zypper ref -> zypper dup -y (dup subsumes ref) - ubuntu/debian: add apt-get upgrade -y after apt-get update Aligns with fedora (dnf update -y) and cachyos (pacman -Syu). Co-Authored-By: Claude Sonnet 4.6 --- init.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.sh b/init.sh index 5af9b2e..7947733 100644 --- a/init.sh +++ b/init.sh @@ -35,13 +35,14 @@ case "$OS" in sudo dnf update -y ;; opensuse-tumbleweed) - sudo zypper ref + sudo zypper dup -y ;; cachyos) sudo pacman -Syu --noconfirm ;; ubuntu|debian) sudo apt-get update + sudo apt-get upgrade -y ;; *) echo "unsupported system ($OS)"