diff options
author | xengineering <mail2xengineering@protonmail.com> | 2020-09-17 13:34:26 +0200 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2020-09-17 13:34:26 +0200 |
commit | 098a236d1dfe26be3ec1653fba28703e964f7e62 (patch) | |
tree | 7b6f78670e2b3577778275d8395d3e45ace27845 /Makefile | |
parent | 70ae67877828bc17352dd8ae0f6fe02643ba990e (diff) | |
download | picontrol-098a236d1dfe26be3ec1653fba28703e964f7e62.tar picontrol-098a236d1dfe26be3ec1653fba28703e964f7e62.tar.zst picontrol-098a236d1dfe26be3ec1653fba28703e964f7e62.zip |
Automate Rights Management with sudoers.d
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2,6 +2,7 @@ .PHONY: install uninstall install : + install -Dm 600 "sudoers.d/picontrol" "/etc/sudoers.d/picontrol" install -Dm 644 "main.py" "/usr/share/eu.xengineering.picontrol/main.py" install -Dm 644 "picontrol.service" "/usr/lib/systemd/system/picontrol.service" install -Dm 644 "static/css/style.css" "/usr/share/eu.xengineering.picontrol/static/css/style.css" @@ -10,5 +11,6 @@ install : install -Dm 644 "templates/index.html" "/usr/share/eu.xengineering.picontrol/templates/index.html" uninstall : + rm -f /etc/sudoers.d/picontrol rm -f /usr/lib/systemd/system/picontrol.service rm -rf /usr/share/eu.xengineering.picontrol/ |