diff options
author | Ken Moore <moorekou@gmail.com> | 2016-08-19 07:38:31 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2016-08-19 07:38:31 -0400 |
commit | 393f446d0d1c627c2124bf59c6010fe7fdc74c11 (patch) | |
tree | 5788c89a3566427ecd43c6748ba85d2ea8a324d8 /src-qt5 | |
parent | Add in pending update detection/skipping ability to the main logout window (n... (diff) | |
download | lumina-393f446d0d1c627c2124bf59c6010fe7fdc74c11.tar.gz lumina-393f446d0d1c627c2124bf59c6010fe7fdc74c11.tar.bz2 lumina-393f446d0d1c627c2124bf59c6010fe7fdc74c11.zip |
Add a special rule for Fedora (untested): L_ETCDIR=/etc (if otherwise unset)
Diffstat (limited to 'src-qt5')
-rw-r--r-- | src-qt5/OS-detect.pri | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src-qt5/OS-detect.pri b/src-qt5/OS-detect.pri index 0865cdfe..5d8aadc4 100644 --- a/src-qt5/OS-detect.pri +++ b/src-qt5/OS-detect.pri @@ -59,6 +59,7 @@ isEmpty(OS){ OS=Linux LIBS += -L/usr/local/lib -L/usr/lib -L/lib + #Detect *which* distro this is exists(/bin/lsb_release){ LINUX_DISTRO = $$system(lsb_release -si) } else:exists(/usr/bin/lsb_release){ @@ -66,7 +67,10 @@ isEmpty(OS){ } else:exists(/etc/gentoo-release){ LINUX_DISTRO = Gentoo } - + #Apply any special rules for particular distros + equals(LINUX_DISTRO,"Fedora"){ + isEmpty(L_ETCDIR){ L_ETCDIR=/etc } + } }else{ OS="Unknown"; } |