[X2Go-Commits] [live-build-x2go] 115/186: added check to see if first x3270-*.desktop file exists; only start copying if it does - avoids error message from cp when no files are there
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 1b1aad343398570e64ff23a3e6fabbfe66418485
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date: Wed Jan 16 15:54:49 2019 +0000
added check to see if first x3270-*.desktop file exists; only start copying if it does - avoids error message from cp when no files are there
---
.../etc/x2go/x2gothinclient_init.d/015_copy-x3270-shortcuts-to-desktop | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
index fea7705..ef94bd2 100755
--- 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
@@ -22,5 +22,5 @@
if [ -z "$X2GO_HANDLE_DAEMON" ] ; then
mkdir -p ~x2gothinclient/Desktop
- cp /usr/share/applications/x3270*.desktop ~x2gothinclient/Desktop
+ [ -f /usr/share/applications/x3270-0.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