mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 15:45:54 +00:00
Update switch_from_VED_to_VE.sh
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user