diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2014-09-06 16:46:55 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2014-09-06 16:46:55 +0200 |
commit | f8a5e7318994dd58f7104326bfe0c50277a29621 (patch) | |
tree | 6fff6c6c903eb277d8423260be0c8e5818b9c80c | |
parent | b43464890f97e468f0b5267fd96c16d5ed648905 (diff) | |
download | xtools-f8a5e7318994dd58f7104326bfe0c50277a29621.tar.gz xtools-f8a5e7318994dd58f7104326bfe0c50277a29621.tar.xz xtools-f8a5e7318994dd58f7104326bfe0c50277a29621.zip |
xnuxnu: google code
-rwxr-xr-x | xnuxnu | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xnuxnu b/xnuxnu index 5066441..6e13834 100755 --- a/xnuxnu +++ b/xnuxnu @@ -18,7 +18,9 @@ void_version=$(./xbps-src show "$1" | sed -n '/version/s/[^:]*:[\t]*//p') case "$url" in *sourceforge.net/sourceforge*) url="http://sourceforge.net/projects/$pkgname/rss?limit=200";; - *cpan.org*) + *code.google.com*|*googlecode*) + url="http://code.google.com/p/$pkgname/downloads/list";; + *cpan.*) pkgname=${pkgname#perl-};; *github.com*) githubname="$(echo $url | cut -d/ -f4,5)" |