Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 0d0805501d
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (23 sloc) 0.766 kb
.PHONY: install uninstall clean sudoers
install: sudoers
install --mode=755 --directory /etc/yabs
install --mode=644 yabs*.conf /etc/yabs
install --mode=644 repo*.list /etc/yabs
[ -f /etc/yabs/http-auth.conf ] || \
install --mode=440 http-auth.conf /etc/yabs
install --mode=755 yabs-worker.sh /usr/sbin/yabs-worker
install --mode=755 yabs.sh /usr/bin/yabs
install --mode=440 sudoers /etc/sudoers.d/yabs
uninstall:
rm --recursive --force \
/etc/yabs \
/etc/sudoers.d/yabs \
/usr/bin/yabs \
/usr/sbin/yabs-worker
sudoers:
install --mode=755 --directory /etc/sudoers.d
grep --quiet --extended-regexp \
'^#includedir\s+/etc/sudoers.d/?$$' /etc/sudoers || \
echo '#includedir /etc/sudoers.d' >> /etc/sudoers
clean:
find . -name '*~' -delete
Jump to Line
Something went wrong with that request. Please try again.