mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-21 20:05:48 +02:00
Update ct/cookcli.sh
This commit is contained in:
+1
-6
@@ -37,12 +37,7 @@ function update_script() {
|
|||||||
|
|
||||||
create_backup /opt/cookcli/recipes
|
create_backup /opt/cookcli/recipes
|
||||||
|
|
||||||
ARCH=$(dpkg --print-architecture)
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "cook" "cooklang/cookcli" "prebuild" "latest" "/opt/cookcli" "cook-$(arch_resolve "x86_64-unknown-linux-gnu" "aarch64-unknown-linux-musl").tar.gz"
|
||||||
if [[ "$ARCH" == "arm64" ]]; then
|
|
||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "cook" "cooklang/cookcli" "prebuild" "latest" "/opt/cookcli" "cook-aarch64-unknown-linux-musl.tar.gz"
|
|
||||||
else
|
|
||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "cook" "cooklang/cookcli" "prebuild" "latest" "/opt/cookcli" "cook-x86_64-unknown-linux-gnu.tar.gz"
|
|
||||||
fi
|
|
||||||
chmod +x /opt/cookcli/cook
|
chmod +x /opt/cookcli/cook
|
||||||
|
|
||||||
restore_backup
|
restore_backup
|
||||||
|
|||||||
Reference in New Issue
Block a user