mirror of
https://github.com/luzifer-aur/google-chrome.git
synced 2024-12-20 22:51:20 +00:00
Reset pkgrel on update
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
a6256e208f
commit
2c85a49486
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
grep "${PKG}" | cut -d ' ' -f 2)
|
||||||
|
|
||||||
# Insert latest version into PKGBUILD and update hashes
|
# 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
|
updpkgsums
|
||||||
|
|
||||||
# Check whether this changed anything
|
# Check whether this changed anything
|
||||||
|
|
Loading…
Reference in a new issue