[X2Go-Commits] [live-build-x2go] 36/60: we need to parse the urldecoded string using echo -e

git-admin at x2go.org git-admin at x2go.org
Mon Nov 28 19:43:51 CET 2022


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 ff81e47c7726ea59648c377602b2f5eb596fdec3
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Sat Jun 20 01:31:16 2020 +0000

    we need to parse the urldecoded string using echo -e
---
 config/includes.chroot/etc/network/if-up.d/0440-getxscreensaverimgs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/includes.chroot/etc/network/if-up.d/0440-getxscreensaverimgs b/config/includes.chroot/etc/network/if-up.d/0440-getxscreensaverimgs
index 230095d..2921436 100755
--- a/config/includes.chroot/etc/network/if-up.d/0440-getxscreensaverimgs
+++ b/config/includes.chroot/etc/network/if-up.d/0440-getxscreensaverimgs
@@ -40,7 +40,7 @@ if [ -n "$XSAVERIMAGES" ] ; then
 		done
 
 		echo -en "\n$(date +'%F | %T | ')'$0': Attempting screensaver image/images download ..." | tee -a /dev/tty8
-		XSAVERIMAGES=$(urldecode "$XSAVERIMAGES")
+		XSAVERIMAGES=$(echo -e "$(urldecode "$XSAVERIMAGES")")
 		if echo "$XSAVERIMAGES" | grep -q "^tftp://" ; then
 			for SINGLEXSAVERIMAGEURL in ${XSAVERIMAGES//|/ }; do
 				XSAVERIMAGESERVER=$(echo "$SINGLEXSAVERIMAGEURL" | sed 's#^tftp://\([^/;]*\)/.*$#\1#' )

--
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