From 6e640f8eb6aa9f50f1ddcf3b2fae4e73a2fa7824 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Slavi=C5=A1a=20Are=C5=BEina?= <58952836+tremor021@users.noreply.github.com> Date: Tue, 23 Dec 2025 22:31:27 +0100 Subject: [PATCH] Fixes (#10257) --- ct/podman.sh | 2 +- install/podman-install.sh | 12 ++++-------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/ct/podman.sh b/ct/podman.sh index 6e35f6901..bf0fdaa65 100644 --- a/ct/podman.sh +++ b/ct/podman.sh @@ -29,7 +29,7 @@ function update_script() { fi msg_info "Updating ${APP} LXC" $STD apt update - $STD apt -y upgrade + $STD apt upgrade -y msg_ok "Updated successfully!" exit } diff --git a/install/podman-install.sh b/install/podman-install.sh index 4e10b5c1e..997522368 100644 --- a/install/podman-install.sh +++ b/install/podman-install.sh @@ -13,12 +13,8 @@ setting_up_container network_check update_os -get_latest_release() { - curl -fsSL https://api.github.com/repos/$1/releases/latest | grep '"tag_name":' | cut -d'"' -f4 -} - -PORTAINER_LATEST_VERSION=$(get_latest_release "portainer/portainer") -PORTAINER_AGENT_LATEST_VERSION=$(get_latest_release "portainer/agent") +PORTAINER_LATEST_VERSION=$(get_latest_github_release "portainer/portainer") +PORTAINER_AGENT_LATEST_VERSION=$(get_latest_github_release "portainer/agent") if $STD mount | grep 'on / type zfs' >null && echo "ZFS"; then msg_info "Enabling ZFS support." @@ -44,8 +40,8 @@ EOF fi msg_info "Installing Podman" -$STD apt -y install podman -$STD systemctl enable --now podman.socket +$STD apt install -y podman +systemctl enable -q --now podman.socket echo -e 'unqualified-search-registries=["docker.io"]' >>/etc/containers/registries.conf msg_ok "Installed Podman"