diff options
author | Knut Ahlers | 2018-12-27 11:21:51 +0100 |
---|---|---|
committer | Knut Ahlers | 2018-12-27 11:21:51 +0100 |
commit | 9e7cca5b975c7388f1c43ac4787e92f2a2d04a9b (patch) | |
tree | 4f69654bc48f58f10fd85d6b2055cecf6c64bab2 | |
parent | 09859373f72d4ad8b2906b01d11cfa352562f07c (diff) | |
download | aur-9e7cca5b975c7388f1c43ac4787e92f2a2d04a9b.tar.gz |
Reset pkgrel on update
Signed-off-by: Knut Ahlers <knut@ahlers.me>
-rwxr-xr-x | update_version.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/update_version.sh b/update_version.sh index a51aa96b2dbe..0a11328dada8 100755 --- a/update_version.sh +++ b/update_version.sh @@ -11,7 +11,10 @@ VER=$(curl -sL "https://dl.google.com/linux/chrome/rpm/stable/x86_64/repodata/ot grep "${PKG}" | cut -d ' ' -f 2) # Insert latest version into PKGBUILD and update hashes -sed -i "s/^pkgver=.*/pkgver=${VER}/" PKGBUILD +sed -i \ + -e "s/^pkgver=.*/pkgver=${VER}/" \ + -e 's/pkgrel=.*/pkgrel=1/' \ + PKGBUILD updpkgsums # Check whether this changed anything |