浏览代码

Update update-lxcs.sh

change to dist-upgrade
tteckster 2 年之前
父节点
当前提交
907a29b7a3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      misc/update-lxcs.sh

+ 1 - 1
misc/update-lxcs.sh

@@ -40,7 +40,7 @@ function update_container() {
     alpine)  pct exec "$container" -- ash -c "apk update && apk upgrade" ;;
     archlinux)  pct exec "$container" -- bash -c "pacman -Syyu --noconfirm";;
     fedora|rocky|centos|alma)  pct exec "$container" -- bash -c "dnf -y update && dnf -y upgrade" ;;
-    ubuntu|debian|devuan)  pct exec "$container" -- bash -c "apt-get update && apt-get -y upgrade" ;;
+    ubuntu|debian|devuan)  pct exec "$container" -- bash -c "apt-get update && apt-get -y dist-upgrade" ;;
   esac
 }
 header_info