Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xwatch-versions7
1 files changed, 6 insertions, 1 deletions
diff --git a/watch-versions b/watch-versions
index 85d16e9..9aebcf5 100755
--- a/watch-versions
+++ b/watch-versions
@@ -97,12 +97,17 @@ case "${pkgbase}" in
*)
# It might be a (slightly modified) copy of an upstream package:
# Then we simply take the upstream pkgver.
+ if [ "${pkgbase}" = 'linux-olpc-xo1' ]; then
+ _pkgbase='linux'
+ else
+ _pkgbase="${pkgbase}"
+ fi
newver=$(
for repository in /var/lib/pacman/sync/*.db; do
bsdtar -tf "${repository}"
done \
| sed '
- s@^'"${pkgbase//./\.}"'-\([^-]\+\)-[0-9.]\+/desc$@\1@
+ s@^'"${_pkgbase//./\.}"'-\([^-]\+\)-[0-9.]\+/desc$@\1@
t
d
' \