Fix the makefile for archlinux - SBINDIR is already /usr/bin
This commit is contained in:
parent
ed15bc157e
commit
607096eed6
4
Makefile
4
Makefile
@ -173,7 +173,11 @@ install-common: install-doc
|
|||||||
# force /usr/bin before /bin to have /usr/bin/python instead of /bin/python
|
# 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)
|
PATH="/usr/bin:$(PATH)" python setup.py install $(PYTHON_PREFIX_ARG) -O1 --root $(DESTDIR)
|
||||||
mkdir -p $(DESTDIR)$(SBINDIR)
|
mkdir -p $(DESTDIR)$(SBINDIR)
|
||||||
|
|
||||||
|
ifneq ($(SBINDIR),/usr/bin)
|
||||||
mv $(DESTDIR)/usr/bin/qubes-firewall $(DESTDIR)$(SBINDIR)/qubes-firewall
|
mv $(DESTDIR)/usr/bin/qubes-firewall $(DESTDIR)$(SBINDIR)/qubes-firewall
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
install -d -m 0750 $(DESTDIR)/etc/sudoers.d/
|
install -d -m 0750 $(DESTDIR)/etc/sudoers.d/
|
||||||
install -D -m 0440 misc/qubes.sudoers $(DESTDIR)/etc/sudoers.d/qubes
|
install -D -m 0440 misc/qubes.sudoers $(DESTDIR)/etc/sudoers.d/qubes
|
||||||
|
Loading…
Reference in New Issue
Block a user