[X2Go-Commits] [live-build-x2go] 33/59: added branding support for MMD

git-admin at x2go.org git-admin at x2go.org
Mon Nov 28 19:34:54 CET 2022


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

x2go pushed a commit to branch feature/openbox-magic-pixel-workaround-buster
in repository live-build-x2go.

commit eeba2edffcfee1570aa8f4c5884aa0fcaafe5d45
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Thu Jun 25 02:47:37 2020 +0200

    added branding support for MMD
---
 config/includes.chroot/etc/network/if-up.d/0410-getbranding | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/config/includes.chroot/etc/network/if-up.d/0410-getbranding b/config/includes.chroot/etc/network/if-up.d/0410-getbranding
index 97e3ca1..f1df6b4 100755
--- a/config/includes.chroot/etc/network/if-up.d/0410-getbranding
+++ b/config/includes.chroot/etc/network/if-up.d/0410-getbranding
@@ -41,6 +41,12 @@ if [ -n "$BRANDINGURL" ] ; then
 		echo -en "\n$(date +'%F | %T | ')'$0': branding SVG download complete." | tee -a /dev/tty8
 		if [ -s ${BRANDINGDESTINATION}.tmp ] ; then
 			mv ${BRANDINGDESTINATION}.tmp $BRANDINGDESTINATION
+			ln $BRANDINGDESTINATION /etc/x2go/x2gothinclient_branding.svg
+			if [ -s /etc/x2go/x2gothinclient-minidesktop_start ] ; then
+				if ! grep -q -- "--branding" /etc/x2go/x2gothinclient-minidesktop_start ; then
+					sed -e '\#^/usr/lib/x2goclient#a \\t\t\t --branding="/etc/x2go/x2gothinclient_branding.svg" \\' -i /etc/x2go/x2gothinclient-minidesktop_start
+				fi
+			fi
 		fi
 	) &
 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