summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-10-22 15:42:39 +0200
committerErich Eckner <git@eckner.net>2017-10-22 15:42:39 +0200
commit9d7d72964ab212b0d27f982b3f2b85c2f9d5f2ad (patch)
treee48e32d52e4031fe0a1feeb099edfb0a472447e4
parent45eb9523b3fa95e5880b28a4d6ebb8425302a084 (diff)
downloadarchlinuxewe.git.save-9d7d72964ab212b0d27f982b3f2b85c2f9d5f2ad.tar.xz
archPackagesUpdate: ignoriere alles nach einem evtl. Punkt in pkgrel
-rwxr-xr-xarchPackagesUpdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate
index 95af9275..12fdcfb2 100755
--- a/archPackagesUpdate
+++ b/archPackagesUpdate
@@ -738,7 +738,7 @@ else
sort -V | \
tail -n1 \
)"
- if [ ! "${offVer}" == "${pkgname}-${epoch:+${epoch}:}${pkgver}-${pkgrel}-${arch}.pkg.tar.xz" ]
+ if [ ! "${offVer}" == "${pkgname}-${epoch:+${epoch}:}${pkgver}-${pkgrel%%.*}-${arch}.pkg.tar.xz" ]
then
>&2 echo "${pkgname} ist in den offiziellen Quellen aktueller: ${offVer}."
err=true