diff options
author | xiota | 2024-04-17 02:09:48 +0000 |
---|---|---|
committer | xiota | 2024-04-17 02:11:16 +0000 |
commit | e30700b16ee627966c8b067cbfb2ba91c7defa7a (patch) | |
tree | d12695aa8318a7ab966a2d74a1ce03471a49a4d2 | |
parent | 0014b85a8fc44a093962e59dd6b86c1a31f5fc11 (diff) | |
download | aur-e30700b16ee627966c8b067cbfb2ba91c7defa7a.tar.gz |
fix git command
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = ddcutil-git pkgdesc = Query and change Linux monitor settings using DDC/CI and USB. pkgver = 2.1.4.r94.g1ce8d58 - pkgrel = 1 + pkgrel = 2 url = https://github.com/rockowitz/ddcutil arch = x86_64 license = GPL-2.0-or-later @@ -12,7 +12,7 @@ _pkgname="ddcutil" pkgname="$_pkgname-git" pkgver=2.1.4.r94.g1ce8d58 -pkgrel=1 +pkgrel=2 pkgdesc='Query and change Linux monitor settings using DDC/CI and USB.' url='https://github.com/rockowitz/ddcutil' license=('GPL-2.0-or-later') @@ -50,7 +50,8 @@ prepare() { # switch default branch, in case cache is out of date _branch=$(git remote show origin | grep HEAD | sed 's&^.*: &&') - git checkout -f branch "$_branch" + git checkout -f "$_branch" + git reset --hard HEAD # back to regularly scheduled program NOCONFIGURE=1 ./autogen.sh |