From a7f797ede23f906ecc5fca3dfe6512847366a310 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 26 Nov 2022 18:01:55 -0500 Subject: [PATCH] Update update-lxcs.sh --- misc/update-lxcs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/update-lxcs.sh b/misc/update-lxcs.sh index 59c8f0ce..63b452c9 100644 --- a/misc/update-lxcs.sh +++ b/misc/update-lxcs.sh @@ -39,7 +39,7 @@ function update_container() { pct config $container > temp os=`awk '/^ostype/' temp | cut -d' ' -f2` if [ "$os" == "alpine" ]; then - pct exec $container -- ash -c "apk update && apk upgrade -y" + pct exec $container -- ash -c "apk update && apk upgrade" elif [ "$os" == "ubuntu" ] || [ "$os" == "debian" ] || [ "$os" == "devuan" ]; then pct exec $container -- bash -c "apt-get update && apt-get upgrade -y && apt-get clean && apt-get --purge autoremove -y" elif [ "$os" == "fedora" ]; then