From 607096eed61fae69a563273fb19239bbebd73b39 Mon Sep 17 00:00:00 2001 From: Nedyalko Andreev Date: Tue, 17 Oct 2017 22:59:38 +0300 Subject: [PATCH] Fix the makefile for archlinux - SBINDIR is already /usr/bin --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index a815578..ee6c08c 100644 --- a/Makefile +++ b/Makefile @@ -173,7 +173,11 @@ install-common: install-doc # force /usr/bin before /bin to have /usr/bin/python instead of /bin/python PATH="/usr/bin:$(PATH)" python setup.py install $(PYTHON_PREFIX_ARG) -O1 --root $(DESTDIR) mkdir -p $(DESTDIR)$(SBINDIR) + +ifneq ($(SBINDIR),/usr/bin) mv $(DESTDIR)/usr/bin/qubes-firewall $(DESTDIR)$(SBINDIR)/qubes-firewall +endif + install -d -m 0750 $(DESTDIR)/etc/sudoers.d/ install -D -m 0440 misc/qubes.sudoers $(DESTDIR)/etc/sudoers.d/qubes