mirror of
https://github.com/luzifer-aur/google-chrome-beta.git
synced 2024-11-14 00:02:42 +00:00
Reset pkgrel on update
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
707560e4fd
commit
a644c4785b
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