From 8e605c0f29d9d8ef6041d8dd162b537196e3193c Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Mon, 13 Apr 2026 14:09:23 +0200 Subject: [PATCH] fix ownfoil --- ct/ownfoil.sh | 16 +++++++--------- install/ownfoil-install.sh | 8 +++----- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/ct/ownfoil.sh b/ct/ownfoil.sh index ae1d437a..3f929e79 100644 --- a/ct/ownfoil.sh +++ b/ct/ownfoil.sh @@ -1,26 +1,24 @@ #!/usr/bin/env bash -source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func) # Copyright (c) 2021-2026 community-scripts ORG # Author: pajjski -# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://github.com/a1ex4/ownfoil +# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE +# Source: https://github.com/a1ex4/ownfoil APP="ownfoil" var_tags="${var_tags:-gaming}" -var_cpu="${var_cpu:-1}" +var_cpu="${var_cpu:-1}" var_ram="${var_ram:-1024}" -var_disk="${var_disk:-4}" +var_disk="${var_disk:-4}" var_os="${var_os:-debian}" var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" - header_info "$APP" variables color catch_errors - function update_script() { header_info check_container_storage @@ -45,9 +43,9 @@ function update_script() { msg_info "Installing Dependencies" cd /opt/ownfoil $STD source .venv/bin/activate - $STD uv pip install -r requirements.txt + $STD uv pip install -r requirements.txt msg_ok "Installed Dependencies" - + msg_info "Restoring Data" cp -r /opt/ownfoil_data_backup /opt/ownfoil/app/config 2>/dev/null || true rm -rf /opt/ownfoil_data_backup diff --git a/install/ownfoil-install.sh b/install/ownfoil-install.sh index 5a82bd54..f5d60f92 100644 --- a/install/ownfoil-install.sh +++ b/install/ownfoil-install.sh @@ -2,7 +2,7 @@ # Copyright (c) 2021-2026 community-scripts ORG # Author: pajjski -# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # Source: https://github.com/a1ex4/ownfoil source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" @@ -14,19 +14,17 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt install -y \ - git +$STD apt install -y git msg_ok "Installed Dependencies" setup_uv - fetch_and_deploy_gh_release "ownfoil" "a1ex4/ownfoil" "tarball" "latest" "/opt/ownfoil" msg_info "Setting up Ownfoil" cd /opt/ownfoil $STD uv venv .venv $STD source .venv/bin/activate -$STD uv pip install -r requirements.txt +$STD uv pip install -r requirements.txt msg_ok "Setup ownfoil" msg_info "Creating Service"