ref pre commit hook for makepkg
This commit is contained in:
parent
967a6fa4e9
commit
92a1f63c9e
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
if [ -e PKGBUILD ]
|
set -e
|
||||||
then
|
if command -v makepkg >/dev/null && [ -e PKGBUILD ]; then
|
||||||
makepkg --printsrcinfo > .SRCINFO
|
makepkg --printsrcinfo > .SRCINFO
|
||||||
git add .SRCINFO
|
git add .SRCINFO
|
||||||
exit
|
exit
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user