dip

old school recipes for janitorial snafu.
git clone git://git.ricketyspace.net/dip.git
Log | Files | Refs

commit f449addc4e416cfbb7290944c14aac0603945c4a
parent f38a70a1c3ab01f340f655ce72f814171c63bd26
Author: rsiddharth <s@ricketyspace.net>
Date:   Sun,  6 May 2018 14:48:10 +0000

distros/debian/Makefile: ADD `SUDO_S_DST` target.

Diffstat:
distros/debian/Makefile | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/distros/debian/Makefile b/distros/debian/Makefile @@ -17,3 +17,11 @@ upgrade: @sudo apt-get upgrade .PHONY: upgrade +# Provision /etc + +## sudoers +SUDO_S_SRC:=etc/sudoers.d/s +SUDO_S_DST:=/$(SUDO_S_SRC) +$(SUDO_S_DST): $(SUDO_S_SRC) + @su -c "cp $< $@" +