Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/common-functions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-07-29 18:25:53 +0200
committerErich Eckner <git@eckner.net>2017-07-29 18:25:53 +0200
commitb224b5ac1dd6f219ac59477d30d84a8732e31b90 (patch)
tree6694ff59705685337817b805c80a3516097d7e11 /bin/common-functions
parentb97523be0db1b73e1877c3797bc54fa58ec27ed6 (diff)
ignore *-unstable repositories everywhere
Diffstat (limited to 'bin/common-functions')
-rwxr-xr-xbin/common-functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/common-functions b/bin/common-functions
index 4dc0d07..d251741 100755
--- a/bin/common-functions
+++ b/bin/common-functions
@@ -19,7 +19,7 @@ find_pkgbuilds() {
tar -t 2> /dev/null | \
grep "^$(str_to_regex "${package}/repos/${repository}")"'-.*/PKGBUILD$' | \
grep -v -- '-i686/PKGBUILD$' | \
- grep -v -- '[-/]\(staging\|testing\)-[^/]\+/PKGBUILD$' | \
+ grep -v -- '[-/]\(staging\|testing\|unstable\)-[^/]\+/PKGBUILD$' | \
sort | \
tail -n1
)"
@@ -592,7 +592,7 @@ find_package_repository_to_package() {
tar -t | \
cut -d/ -f3 | \
grep -vxF '' | \
- grep -v 'staging\|testing' | \
+ grep -v 'staging\|testing\|-unstable' | \
grep -v -- '-i686$' | \
sed 's|-[^-]\+$||' | \
sort -u