mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-21 20:05:48 +02:00
tools.func: recognize bare XZ-compressed tarballs in fetch_and_deploy* (#16796)
This commit is contained in:
committed by
GitHub
parent
e470b6ddf1
commit
ab1869fbb0
@@ -9394,6 +9394,8 @@ fetch_and_deploy_from_url() {
|
|||||||
|
|
||||||
if [[ "$file_desc" =~ gzip.*compressed|gzip\ compressed\ data ]]; then
|
if [[ "$file_desc" =~ gzip.*compressed|gzip\ compressed\ data ]]; then
|
||||||
archive_type="tar"
|
archive_type="tar"
|
||||||
|
elif [[ "$file_desc" =~ XZ\ compressed\ data ]]; then
|
||||||
|
archive_type="tar"
|
||||||
elif [[ "$file_desc" =~ Zip.*archive|ZIP\ archive ]]; then
|
elif [[ "$file_desc" =~ Zip.*archive|ZIP\ archive ]]; then
|
||||||
archive_type="zip"
|
archive_type="zip"
|
||||||
elif [[ "$file_desc" =~ Debian.*package|Debian\ binary\ package ]]; then
|
elif [[ "$file_desc" =~ Debian.*package|Debian\ binary\ package ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user