summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2014-09-06 18:54:26 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2014-09-06 18:54:26 +0200
commit1bc8cf2e4dbe9d770b71236cf741fe2ac847cce0 (patch)
treedfe53982bc8204f8b11674c76c22002d29be5b87
parentdf5037280ff79c0262e8b7dd563070c20f03ec10 (diff)
downloadxtools-1bc8cf2e4dbe9d770b71236cf741fe2ac847cce0.tar.gz
xtools-1bc8cf2e4dbe9d770b71236cf741fe2ac847cce0.tar.xz
xtools-1bc8cf2e4dbe9d770b71236cf741fe2ac847cce0.zip
xnuxnu: shar archives
-rwxr-xr-xxnuxnu2
1 files changed, 1 insertions, 1 deletions
diff --git a/xnuxnu b/xnuxnu
index 26ba397..9b7ab13 100755
--- a/xnuxnu
+++ b/xnuxnu
@@ -14,7 +14,7 @@ void_version=$(./xbps-src show "$1" | sed -n '/version/s/[^:]*:[\t]*//p')
 	sed -n '/distfiles:/{s/[^:]*:[\t]*//;s|/[^/]*$|/|p};
 		/Upstream URL/s/[^:]*:[\t]*//p' |
 	while read url; do
-		rx="\b$pkgname[-_]?((src|source)[-_])?\K([^-/_\s]*?\d[^-/_\s]*?)(?=(?:[-_.](?:src|source|orig))?\.(?:[jt]ar|t[bglx]z|tbz2|zip))\b"
+		rx="\b$pkgname[-_]?((src|source)[-_])?\K([^-/_\s]*?\d[^-/_\s]*?)(?=(?:[-_.](?:src|source|orig))?\.(?:[jt]ar|shar|t[bglx]z|tbz2|zip))\b"
 		case "$url" in
 			*sourceforge.net/sourceforge*)
 				url="http://sourceforge.net/projects/$pkgname/rss?limit=200";;