Browse Source

Invert logic to find X11 dir

tags/v0.9.0
falkTX 6 years ago
parent
commit
122af7b95f
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      Makefile

+ 3
- 3
Makefile View File

@@ -12,10 +12,10 @@ PYUIC ?= pyuic5
PYRCC ?= pyrcc5

# Detect X11 rules dir
ifeq "$(wildcard /etc/X11/xinit/xinitrc.d/ )" ""
X11_RC_DIR = $(DESTDIR)/etc/X11/Xsession.d/
else
ifeq "$(wildcard /etc/X11/Xsession.d/ )" ""
X11_RC_DIR = $(DESTDIR)/etc/X11/xinit/xinitrc.d/
else
X11_RC_DIR = $(DESTDIR)/etc/X11/Xsession.d/
endif

# -----------------------------------------------------------------------------------------------------------------------------------------


Loading…
Cancel
Save