diff options
author | Britney Fransen <brfransen@gmail.com> | 2019-04-11 18:11:11 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2019-04-11 18:11:11 (GMT) |
commit | 6d979f56c21c591051a9346bb1af3e7da13ca518 (patch) | |
tree | 2291ee373b31113cda86df4eb9c1ded073b94694 /abs/extra | |
parent | b644dea6c89b7c2bbdb4c79d8e1a311a7f0b2f27 (diff) | |
download | linhes_pkgbuild-6d979f56c21c591051a9346bb1af3e7da13ca518.zip linhes_pkgbuild-6d979f56c21c591051a9346bb1af3e7da13ca518.tar.gz linhes_pkgbuild-6d979f56c21c591051a9346bb1af3e7da13ca518.tar.bz2 |
google-chrome: update_version.sh
Diffstat (limited to 'abs/extra')
-rwxr-xr-x | abs/extra/google-chrome/update_version.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/abs/extra/google-chrome/update_version.sh b/abs/extra/google-chrome/update_version.sh index 5755373..2a48b8f 100755 --- a/abs/extra/google-chrome/update_version.sh +++ b/abs/extra/google-chrome/update_version.sh @@ -3,7 +3,7 @@ set -euxo pipefail # Get channel CHANNEL=$(awk -F '=' '/^_channel/{ print $2 }' PKGBUILD) -PKG="google-chrome-${CHANNEL}" +PKG="google-chrome" # Get latest version VER=$(curl -sL "https://dl.google.com/linux/chrome/rpm/stable/x86_64/repodata/other.xml.gz" | gzip -df | @@ -24,7 +24,10 @@ if (git diff --exit-code PKGBUILD); then fi # Update .SRCINFO -makepkg --printsrcinfo >.SRCINFO +#makepkg --printsrcinfo >.SRCINFO + +# Build +mpv2.py --rmold # Commit changes git add PKGBUILD |