mirror of
https://github.com/luzifer-aur/google-chrome-dev.git
synced 2024-11-09 11:30:05 +00:00
Reset pkgrel on update
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
09859373f7
commit
9e7cca5b97
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)
|
||||
|
||||
# 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
|
||||
|
|
Loading…
Reference in a new issue