Update update-apps.sh

This commit is contained in:
CanbiZ 2025-07-29 11:13:11 +02:00
parent e94f2bf68e
commit 3c8184221a

View File

@ -213,7 +213,6 @@ for container in $CHOICE; do
if [ "$UPDATE_BUILD_RESOURCES" -eq "1" ]; then
pct set "$container" --cores "$build_cpu" --memory "$build_ram"
fi
}
#4) Update service, using the update command
case "$os" in
@ -243,7 +242,7 @@ for container in $CHOICE; do
if [ $exit_code -eq 0 ]; then
msg_ok "Updated container $container"
elif [ "BACKUP_CHOICE" == "yes" ];then
elif [ "$BACKUP_CHOICE" == "yes" ]; then
msg_info "Restoring LXC from backup"
pct stop $container
LXC_STORAGE=$(pct config $container | awk -F '[:,]' '/rootfs/ {print $2}')