[X2Go-Commits] [live-build-x2go] 113/186: make sure ix3270-*.desktop files are copied to the TC user's Desktop so they show up

git-admin at x2go.org git-admin at x2go.org
Wed Mar 20 22:55:24 CET 2019


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

x2go pushed a commit to branch feature/mate-minidesktop-stretch
in repository live-build-x2go.

commit 7de4f6bd754b0e1ac995240e7a0d35be1b93deac
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Wed Jan 16 15:52:01 2019 +0000

    make sure ix3270-*.desktop files are copied to the TC user's Desktop so they show up
---
 .../015_copy-x3270-shortcuts-to-desktop            | 26 ++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/config/includes.chroot/etc/x2go/x2gothinclient_init.d/015_copy-x3270-shortcuts-to-desktop b/config/includes.chroot/etc/x2go/x2gothinclient_init.d/015_copy-x3270-shortcuts-to-desktop
new file mode 100755
index 0000000..fea7705
--- /dev/null
+++ b/config/includes.chroot/etc/x2go/x2gothinclient_init.d/015_copy-x3270-shortcuts-to-desktop
@@ -0,0 +1,26 @@
+#!/bin/bash
+
+# Copyright (C) 2010-2015 by X2Go project, http://wiki.x2go.org
+#       Oleksandr Shneyder <oleksandr.shneyder at obviously-nice.de>
+#       Moritz 'Morty' Struebe <Moritz.Struebe at informatik.uni-erlangen.de>
+#       Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
+
+# X2Go 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.
+#
+# X2Go 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.
+
+if [ -z "$X2GO_HANDLE_DAEMON" ] ; then
+	mkdir -p ~x2gothinclient/Desktop
+	cp /usr/share/applications/x3270*.desktop ~x2gothinclient/Desktop
+fi

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git


More information about the x2go-commits mailing list