mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 05:57:26 +00:00
Update tools.func
This commit is contained in:
@@ -874,7 +874,7 @@ function fetch_and_deploy_gh_release() {
|
|||||||
if ! command -v unzip &>/dev/null; then
|
if ! command -v unzip &>/dev/null; then
|
||||||
$STD apt-get install -y unzip
|
$STD apt-get install -y unzip
|
||||||
fi
|
fi
|
||||||
unzip "$tmpdir/$filename" -d "$target"
|
$STD unzip "$tmpdir/$filename" -d "$target"
|
||||||
elif [[ "$filename" == *.tar.gz ]]; then
|
elif [[ "$filename" == *.tar.gz ]]; then
|
||||||
tar -xzf "$tmpdir/$filename" -C "$target"
|
tar -xzf "$tmpdir/$filename" -C "$target"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user