summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--lib/SlackBuild/Request/Loader/url.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SlackBuild/Request/Loader/url.pm b/lib/SlackBuild/Request/Loader/url.pm
index 52f23f9..eb5945c 100644
--- a/lib/SlackBuild/Request/Loader/url.pm
+++ b/lib/SlackBuild/Request/Loader/url.pm
@@ -26,13 +26,13 @@ sub Load {
if ($reqname =~ m{^\w+://}) {
my $uri = new URI($reqname);
if ($uri->scheme =~ m{^(?:http|ftp)s?}
&& $uri->path =~ m{.*/(.+?)\.tar(?:\.(?:[xgl]z|bz2))?}x) {
return { package => $1, slackbuild_uri => $reqname };
}
- if ($uri->scheme eq 'sbo') {
+ if ($uri->scheme eq 'sbo' && $uri->package) {
return { package => $uri->package, slackbuild_uri => $reqname }
}
}
}
1;

Return to:

Send suggestions and report system problems to the System administrator.