[X2Go-Commits] [live-build-x2go] 35/60: added urldecoder so live-build won't choke on | symbol any more -> using %7C instead of | in build config
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 58a9e1bcf3429f2f6450dafa3aaa383af327db2c
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date: Sat Jun 20 00:43:42 2020 +0000
added urldecoder so live-build won't choke on | symbol any more -> using
%7C instead of | in build config
---
config/includes.chroot/etc/network/if-up.d/0440-getxscreensaverimgs | 5 +++++
1 file changed, 5 insertions(+)
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 0361b2a..230095d 100755
--- a/config/includes.chroot/etc/network/if-up.d/0440-getxscreensaverimgs
+++ b/config/includes.chroot/etc/network/if-up.d/0440-getxscreensaverimgs
@@ -17,6 +17,10 @@ else
mkdir -p ${USERHOME}/Pictures
fi
+function urldecode() {
+ : "${*//+/ }"; echo -e "${_//%/\\x}";
+}
+
mkdir -p $SLIDESDIR
if [ -n "$XSAVERIMAGES" ] ; then
@@ -36,6 +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")
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