[X2Go-Commits] [live-build-x2go] 14/14: removed bashism as we are forced to use dash in bookworm

git-admin at x2go.org git-admin at x2go.org
Mon Jan 29 22:51:41 CET 2024


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

x2go pushed a commit to branch heuler/mate-minidesktop-bookworm
in repository live-build-x2go.

commit cab7b31b19fba96ac96cf5509e51eb48a9eb6140
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Sun Jan 28 14:48:53 2024 +0100

    removed bashism as we are forced to use dash in bookworm
---
 config/includes.chroot/etc/X11/Xsession.d/60x11-set-xbackground | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/includes.chroot/etc/X11/Xsession.d/60x11-set-xbackground b/config/includes.chroot/etc/X11/Xsession.d/60x11-set-xbackground
index cfdab6a..156b801 100644
--- a/config/includes.chroot/etc/X11/Xsession.d/60x11-set-xbackground
+++ b/config/includes.chroot/etc/X11/Xsession.d/60x11-set-xbackground
@@ -7,7 +7,7 @@ if [ -n "$XROOT" ] ; then
 
 	#input validation
 	# allowed values for POSITION: center fill max scale tile; default: max
-	case "${XROOTMODE,,}" in # force lowercase
+	case "$(echo $XROOTMODE | tr '[:upper:]' '[:lower:]')" in # force lowercase
 		"center") POSITION=center ;;
 		"fill") POSITION=fill ;;
 		"scale") POSITION=scale ;;

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