summaryrefslogtreecommitdiff
path: root/config-parabola-mgmt-nshd-local.PKGBUILD
blob: 20abee88ae823feb93435cc0b9d522e71573aaaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
. ${BUILDFILE%/*}/common.sh
pkgver=20180826.1

package() {
preamble

depends=(config-parabola-mgmt-nshd sudo run-parts)
provides=(config-parabola-mgmt-nshd-updater)
conflicts=(config-parabola-mgmt-nshd-updater)

# Have a git hook take care of it; just give the hook permission to
# run our hooks.

add-file etc/sudoers.d/10-git-hackers <<EOF
git ALL=(ALL) NOPASSWD: /usr/bin/run-parts --arg=/var/lib/hackers-git -- /etc/parabola-hackers/hooks
EOF

postamble
}