[X2Go-Commits] [x2gothinclient] 01/03: management/sbin/x2gothinclient_update: Create $TC_CHROOT/etc/x2go/x2gothinclient_init.d/ before copying files into it.

git-admin at x2go.org git-admin at x2go.org
Fri Nov 23 21:41:30 CET 2018


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

x2go pushed a commit to branch master
in repository x2gothinclient.

commit 034598fdeafbe365884bae497a084495a010f67d
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Fri Nov 23 21:35:42 2018 +0100

    management/sbin/x2gothinclient_update: Create $TC_CHROOT/etc/x2go/x2gothinclient_init.d/ before copying files into it.
---
 debian/changelog                      | 2 ++
 management/sbin/x2gothinclient_update | 1 +
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 9b02295..fd1119d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -66,6 +66,8 @@ x2gothinclient (1.5.0.0-0x2go1) UNRELEASED; urgency=low
     - TCE in display manager mode: Don't align multiple heads next to
       one another if a (Wacom) touchscreen is detected in the list of heads.
       (Fixes: #719).
+    - management/sbin/x2gothinclient_update: Create
+      $TC_CHROOT/etc/x2go/x2gothinclient_init.d/ before copying files into it.
   * debian/control:
     + Rename bin:package: x2gothinclient -> x2gothinclient-daemon.
     + Make sure x2gothinclient-minidesktop pulls in X11 and X2Go Client.
diff --git a/management/sbin/x2gothinclient_update b/management/sbin/x2gothinclient_update
index 751effb..64a1626 100755
--- a/management/sbin/x2gothinclient_update
+++ b/management/sbin/x2gothinclient_update
@@ -63,6 +63,7 @@ echo "------------------------------------------------------------"
 mkdir -p "$TC_CHROOT/etc/x2go/"
 
 ls "$TC_CONFIG/x2gothinclient_init.d/" | while read init_part; do
+	mkdir -p "$TC_CHROOT/etc/x2go/x2gothinclient_init.d/"
 	if test -f "$TC_CONFIG/x2gothinclient_init.d/$init_part"; then
 		cp -v "$TC_CONFIG/x2gothinclient_init.d/$init_part" "$TC_CHROOT/etc/x2go/x2gothinclient_init.d/"
 		chmod a+rx "$TC_CHROOT/etc/x2go/x2gothinclient_init.d/$init_part"

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


More information about the x2go-commits mailing list