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