mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-03-26 20:02:58 +01:00
Compare commits
3 Commits
2026-03-25
...
fix/use-ab
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c24c9996a3 | ||
|
|
0872f086ef | ||
|
|
4eecca8aea |
@@ -426,6 +426,8 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
||||
|
||||
</details>
|
||||
|
||||
## 2026-03-26
|
||||
|
||||
## 2026-03-25
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
@@ -304,7 +304,7 @@ setup_yq() {
|
||||
url="https://github.com/mikefarah/yq/releases/latest/download/yq_linux_${arch}"
|
||||
tmp="$(mktemp)"
|
||||
download_with_progress "$url" "$tmp" || return 1
|
||||
install -m 0755 "$tmp" /usr/local/bin/yq
|
||||
/usr/bin/install -m 0755 "$tmp" /usr/local/bin/yq
|
||||
rm -f "$tmp"
|
||||
msg_ok "Setup yq ($(yq --version 2>/dev/null))"
|
||||
}
|
||||
@@ -376,10 +376,10 @@ setup_uv() {
|
||||
|
||||
# tar contains ./uv
|
||||
if [ -x "$tmpd/uv" ]; then
|
||||
install -m 0755 "$tmpd/uv" "$UV_BIN"
|
||||
/usr/bin/install -m 0755 "$tmpd/uv" "$UV_BIN"
|
||||
else
|
||||
# fallback: in subfolder
|
||||
install -m 0755 "$tmpd"/*/uv "$UV_BIN" 2>/dev/null || {
|
||||
/usr/bin/install -m 0755 "$tmpd"/*/uv "$UV_BIN" 2>/dev/null || {
|
||||
msg_error "uv binary not found in tar"
|
||||
rm -rf "$tmpd"
|
||||
return 1
|
||||
|
||||
@@ -1642,7 +1642,7 @@ maybe_offer_save_app_defaults() {
|
||||
if whiptail --backtitle "Proxmox VE Helper Scripts" \
|
||||
--yesno "Save these advanced settings as defaults for ${APP}?\n\nThis will create:\n${app_vars_path}" 12 72; then
|
||||
mkdir -p "$(dirname "$app_vars_path")"
|
||||
install -m 0644 "$new_tmp" "$app_vars_path"
|
||||
/usr/bin/install -m 0644 "$new_tmp" "$app_vars_path"
|
||||
msg_ok "Saved app defaults: ${app_vars_path}"
|
||||
fi
|
||||
rm -f "$new_tmp" "$diff_tmp"
|
||||
@@ -1676,7 +1676,7 @@ maybe_offer_save_app_defaults() {
|
||||
|
||||
case "$sel" in
|
||||
"Update Defaults")
|
||||
install -m 0644 "$new_tmp" "$app_vars_path"
|
||||
/usr/bin/install -m 0644 "$new_tmp" "$app_vars_path"
|
||||
msg_ok "Updated app defaults: ${app_vars_path}"
|
||||
break
|
||||
;;
|
||||
|
||||
@@ -7942,7 +7942,7 @@ function setup_uv() {
|
||||
return 1
|
||||
fi
|
||||
|
||||
$STD install -m 755 "$UV_BINARY" "$UV_BIN" || {
|
||||
$STD /usr/bin/install -m 755 "$UV_BINARY" "$UV_BIN" || {
|
||||
msg_error "Failed to install uv binary"
|
||||
return 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user