mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
updxlrator: Add support for tar.xz files
This commit is contained in:
@@ -109,7 +109,7 @@ while (<>) {
|
|||||||
|
|
||||||
if (
|
if (
|
||||||
($source_url =~ m@^[h|f]t?tp://[^?]+\.(pkg\.tar\.xz|deb|rpm)$@i) ||
|
($source_url =~ m@^[h|f]t?tp://[^?]+\.(pkg\.tar\.xz|deb|rpm)$@i) ||
|
||||||
($source_url =~ m@^[h|f]t?tp://[^?]+/distfiles/[^?]+\.(tar\.gz|tar\.bz2|tgz|zip|patch\.bz2|gz|docx|patch|pdf|exe)$@i)
|
($source_url =~ m@^[h|f]t?tp://[^?]+/distfiles/[^?]+\.(tar\.gz|tar\.bz2|tar\.xz|tgz|zip|patch\.bz2|gz|docx|patch|pdf|exe)$@i)
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
$xlrator_url = &check_cache($source_url,$hostaddr,$username,"Linux",$mirror);
|
$xlrator_url = &check_cache($source_url,$hostaddr,$username,"Linux",$mirror);
|
||||||
|
|||||||
Reference in New Issue
Block a user