Commit f5a68741 authored by Mihai Moldovan's avatar Mihai Moldovan
Browse files

x2goserver/bin/x2gopath.in: fix warning message to also include SHAREDIR.

parent 18c6c925
......@@ -105,6 +105,8 @@ x2goserver (4.1.0.4-0x2go1.1) UNRELEASED; urgency=medium
default-if-not-specified-logic to all the other Makefiles as well.
- x2goserver/Makefile: add support for $(NXLIBDIR).
- x2goserver/bin/x2gopath.in: switch to bash.
- x2goserver/bin/x2gopath.in: fix warning message to also include
SHAREDIR.
* debian/control:
+ Build-depend upon lsb-release for distro version detection.
* debian/x2goserver.manpages:
......
......@@ -40,8 +40,8 @@ fi
typeset x2go_share_subdir="${installed_sharedir#${installed_prefix}}"
typeset x2go_lib_subdir="${installed_libdir#${installed_prefix}}"
if [ "${x2go_lib_subdir}" = "${installed_libdir}" ]; then
printf 'WARNING: X2Go Server was built with a LIBDIR (%s) not starting with PREFIX (%s). Such a setup will likely not work correctly.\n' "${installed_libdir}" "${installed_prefix}" >&2
if [ "${x2go_share_subdir}" = "${installed_sharedir}" ] || [ "${x2go_lib_subdir}" = "${installed_libdir}" ]; then
printf 'WARNING: X2Go Server was built with a SHAREDIR (%s) or LIBDIR (%s) not starting with PREFIX (%s). Such a setup will likely not work correctly.\n' "${installed_sharedir}" "${installed_libdir}" "${installed_prefix}" >&2
fi
# Try to fetch the system library dir.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment