[X2Go-Commits] [x2goserver] 08/09: xsettings: add X2GO_XSETTINGS feature.

git-admin at x2go.org git-admin at x2go.org
Sun Nov 23 07:38:34 CET 2014


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch x2goserver-xsettings
in repository x2goserver.

commit a5017e43dcae2dd33168117d5d494854d3ad1fd3
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sun Nov 23 04:36:30 2014 +0100

    xsettings: add X2GO_XSETTINGS feature.
---
 .../x2gofeature.d/x2goserver-xsettings.features    |   33 ++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/x2goserver-xsettings/share/x2gofeature.d/x2goserver-xsettings.features b/x2goserver-xsettings/share/x2gofeature.d/x2goserver-xsettings.features
new file mode 100755
index 0000000..74a4000
--- /dev/null
+++ b/x2goserver-xsettings/share/x2gofeature.d/x2goserver-xsettings.features
@@ -0,0 +1,33 @@
+#!/bin/bash
+
+# Copyright (C) 2007-2014 X2Go Project - http://wiki.x2go.org
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the
+# Free Software Foundation, Inc.,
+# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# Copyright (C) 2011-2014 Oleksandr Shneyder <oleksandr.shneyder at obviously-nice.de>
+# Copyright (C) 2011-2014 Heinz-Markus Graesing <heinz-m.graesing at obviously-nice.de>
+
+X2GO_LIB_PATH="$(x2gopath libexec)";
+
+${X2GO_LIB_PATH}/x2gosyslog "$0" "info" "$(basename $0) called with options: $@"
+
+X2GO_FEATURE="${1}"
+
+# check for X2Go server core features
+case "$X2GO_FEATURE" in
+    "X2GO_XSETTINGS") echo "ok"; exit 0;;
+    *) exit -1;;
+esac

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git


More information about the x2go-commits mailing list