summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Bo ├śrsted Andresen <zlin@exherbo.org> 2016-10-13 15:13:45 +0200
committerAvatar Bo ├śrsted Andresen <zlin@exherbo.org> 2016-10-13 15:13:45 +0200
commitad47d0ea276ae604d5a0d1ec996b2cbc1fe0a257 (patch)
tree9a97afee5bfd379b02ddfb5e647ff641bd8bf0a0
parent422462680784dd8f64a3b7015d1997ef3f6ac62e (diff)
downloadinfra-scripts-ad47d0ea276ae604d5a0d1ec996b2cbc1fe0a257.tar.gz
infra-scripts-ad47d0ea276ae604d5a0d1ec996b2cbc1fe0a257.tar.xz
Adjust infer official repository homepage from sync urls.
-rwxr-xr-xplayboy/playboy.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/playboy/playboy.rb b/playboy/playboy.rb
index b4e028d..d6448f0 100755
--- a/playboy/playboy.rb
+++ b/playboy/playboy.rb
@@ -75,8 +75,8 @@ def infer_homepage(sync)
"http://github.com/#$1"
when %r{^git://gitorious.org/(.+)/(.+)\.git$}
"http://www.gitorious.org/projects/#$1/repos/#$2"
- when %r{^git://git\.exherbo\.org/(.+\.git)?$}
- "http://git.exherbo.org/?p=#$1"
+ when %r{^git\+https://git\.exherbo\.org/git/(.+\.git)?$}
+ "https://git.exherbo.org/#$1/"
else ""
end
end