summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org.ua>2019-09-17 06:38:57 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2019-09-17 06:38:57 (GMT)
commit23760946b834b708a807ee1d50678a1e3ee48fa2 (patch) (side-by-side diff)
treea921db21e81fa90b6e1e4629b8cd21eb589b5775
parent542d79b7552253b2e99fff87995d8d34bcebaa26 (diff)
downloadslackbuilder-master.tar.gz
slackbuilder-master.tar.bz2
Minor fixHEADmaster
* lib/SlackBuild/Request/Loader/url.pm: Check if package name is defined in sbo.
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
@@ -29,7 +29,7 @@ sub Load {
&& $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 }
}
}

Return to:

Send suggestions and report system problems to the System administrator.