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

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

commit 74f573692cdf83ab08814db5367935deed3d4297
Author: Stefan Baur (BAUR-ITCS) <kont...@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
_______________________________________________
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to