diff options
author | Knut Ahlers | 2018-12-27 11:21:20 +0100 |
---|---|---|
committer | Knut Ahlers | 2018-12-27 11:21:20 +0100 |
commit | 2c85a49486e3464017c0e03b826b3406a38a7966 (patch) | |
tree | 40343f7353114ef67da9253175d7e147a6240a0c | |
parent | a6256e208f72f7afd6f7a5815e66b2c426fe68e2 (diff) | |
download | aur-2c85a49486e3464017c0e03b826b3406a38a7966.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 |