mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Use sysconfdir variable if was given via '--sysconfdir' flag to configure script.
This commit is contained in:
@ -14,6 +14,7 @@
|
||||
# http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html
|
||||
|
||||
PREFIX="@prefix@"
|
||||
SYSCONFDIR="@my_sysconfdir@"
|
||||
|
||||
if [ "x$XDG_DATA_HOME" = "x" ]; then
|
||||
XDG_DATA_HOME="$HOME/.local/share"
|
||||
@ -32,7 +33,7 @@ if [ "x$XDG_DATA_DIRS" = "x" ]; then
|
||||
fi
|
||||
|
||||
if [ "x$XDG_CONFIG_DIRS" = "x" ]; then
|
||||
XDG_CONFIG_DIRS="$PREFIX/etc/xdg"
|
||||
XDG_CONFIG_DIRS="$SYSCONFDIR/xdg"
|
||||
fi
|
||||
|
||||
# prefix for applications.menu
|
||||
|
Reference in New Issue
Block a user