Update switch_from_VED_to_VE.sh

This commit is contained in:
CanbiZ 2025-03-12 11:56:16 +01:00
parent 57a4eb8ab5
commit dae8178bf6

View File

@ -25,7 +25,7 @@ function update_container() {
container=$1 container=$1
os=$(pct config "$container" | awk '/^ostype/ {print $2}') os=$(pct config "$container" | awk '/^ostype/ {print $2}')
if [[ "$os" == "ubuntu" || "$os" == "debian" || "$os" == "alpine" ]]; then if [[ "$os" == "ubuntu" || "$os" == "debian" ]]; then
echo -e "${BL}[Info]${GN} Checking /usr/bin/update in ${BL}$container${CL} (OS: ${GN}$os${CL})" echo -e "${BL}[Info]${GN} Checking /usr/bin/update in ${BL}$container${CL} (OS: ${GN}$os${CL})"
if pct exec "$container" -- [ -e /usr/bin/update ]; then if pct exec "$container" -- [ -e /usr/bin/update ]; then