mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-01-26 18:46:18 +00:00
Compare commits
5 Commits
5c257f29ad
...
16aac643d9
Author | SHA1 | Date | |
---|---|---|---|
|
16aac643d9 | ||
|
ab10013fbe | ||
|
9abd8bf9aa | ||
|
84e5fafd0d | ||
|
24a7149794 |
@ -27,6 +27,7 @@ Do not break established syntax in this file, as it is automatically updated by
|
|||||||
|
|
||||||
### 🚀 Updated Scripts
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- Fix Tag in HyperHDR Script [@MickLesk](https://github.com/MickLesk) ([#1299](https://github.com/community-scripts/ProxmoxVE/pull/1299))
|
||||||
- [Fix]: Fixed rm Bug in pf2etools [@MickLesk](https://github.com/MickLesk) ([#1292](https://github.com/community-scripts/ProxmoxVE/pull/1292))
|
- [Fix]: Fixed rm Bug in pf2etools [@MickLesk](https://github.com/MickLesk) ([#1292](https://github.com/community-scripts/ProxmoxVE/pull/1292))
|
||||||
- Fix: Homebox Update Script [@MickLesk](https://github.com/MickLesk) ([#1284](https://github.com/community-scripts/ProxmoxVE/pull/1284))
|
- Fix: Homebox Update Script [@MickLesk](https://github.com/MickLesk) ([#1284](https://github.com/community-scripts/ProxmoxVE/pull/1284))
|
||||||
- Add ca-certificates for Install (Frigate) [@MickLesk](https://github.com/MickLesk) ([#1282](https://github.com/community-scripts/ProxmoxVE/pull/1282))
|
- Add ca-certificates for Install (Frigate) [@MickLesk](https://github.com/MickLesk) ([#1282](https://github.com/community-scripts/ProxmoxVE/pull/1282))
|
||||||
|
@ -7,7 +7,7 @@ source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/m
|
|||||||
|
|
||||||
# App Default Values
|
# App Default Values
|
||||||
APP="HyperHDR"
|
APP="HyperHDR"
|
||||||
var_tags="ambient lightning"
|
var_tags="ambient-lightning"
|
||||||
var_cpu="2"
|
var_cpu="2"
|
||||||
var_ram="2048"
|
var_ram="2048"
|
||||||
var_disk="4"
|
var_disk="4"
|
||||||
|
@ -256,3 +256,23 @@ EOF
|
|||||||
echo "bash -c \"\$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/${app}.sh)\"" >/usr/bin/update
|
echo "bash -c \"\$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/${app}.sh)\"" >/usr/bin/update
|
||||||
chmod +x /usr/bin/update
|
chmod +x /usr/bin/update
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# This function downloads the latest release of a GitHub repository
|
||||||
|
github_download_latest_release() {
|
||||||
|
local user="$1"
|
||||||
|
local repo="$2"
|
||||||
|
local output_file="$3"
|
||||||
|
local tarball_url=$($STD wget -qLO - "https://api.github.com/repos/$user/$repo/releases/latest" | grep '"tarball_url":' | cut -d '"' -f 4)
|
||||||
|
$STD wget -qLO "$output_file" "$tarball_url"
|
||||||
|
}
|
||||||
|
|
||||||
|
# This function extracts a GitHub release tarball into a target directory
|
||||||
|
github_extract_latest_release() {
|
||||||
|
local user="$1"
|
||||||
|
local repo="$2"
|
||||||
|
local output_directory="$3"
|
||||||
|
mkdir -p "$output_directory"
|
||||||
|
github_download_latest_release "$user" "$repo" "/tmp/$repo.tar.gz"
|
||||||
|
tar -xzf "/tmp/$repo.tar.gz" -C "$output_directory" --strip-components 1
|
||||||
|
rm "/tmp/$repo.tar.gz"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user