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

x2goserver/bin/x2gopath.in: make xinerama path optional, newer releases don't...

x2goserver/bin/x2gopath.in: make xinerama path optional, newer releases don't use it any longer, so failures to find it should not result in a warning message.
parent 63ab1f9c
......@@ -147,6 +147,9 @@ x2goserver (4.1.0.4-0x2go1.1) UNRELEASED; urgency=medium
canonicalizing installed path values.
- x2goserver/bin/x2gopath.in: avoid double slashes since we now know that
paths will be canonical.
- x2goserver/bin/x2gopath.in: make xinerama path optional, newer releases
don't use it any longer, so failures to find it should not result in a
warning message.
* debian/control:
+ Build-depend upon lsb-release for distro version detection.
* debian/x2goserver.manpages:
......
......@@ -71,9 +71,9 @@ fi
typeset x2go_libpath="${base}${x2go_lib_subdir}"
typeset x2go_sharepath="${base}${x2go_share_subdir}"
typeset x2go_nxx11path="${base}${x2go_nxlib_subdir}/X11"
typeset x2go_xineramapath="${base}${x2go_nxlib_subdir}/X11/Xinerama"
desc_arr=( 'library path' 'share path' 'nx-X11 path' 'xinerama path' )
val_arr=( 'x2go_libpath' 'x2go_sharepath' 'x2go_nxx11path' 'x2go_xineramapath' )
typeset x2go_xineramapath="${x2go_nxx11path}/Xinerama"
desc_arr=( 'library path' 'share path' 'nx-X11 path' )
val_arr=( 'x2go_libpath' 'x2go_sharepath' 'x2go_nxx11path' )
typeset -i i='0'
for i in "${!desc_arr[@]}"; do
......
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