aboutsummaryrefslogtreecommitdiffstats
path: root/community/x2goserver/xsession-alpine-support.patch
blob: 09ddfdd2d81b75db9f89f43d0ef9553e3c199d32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/x2goserver-xsession/etc/Xsession b/x2goserver-xsession/etc/Xsession
index 52a61bf..34ada90 100755
--- a/x2goserver-xsession/etc/Xsession
+++ b/x2goserver-xsession/etc/Xsession
@@ -145,7 +145,7 @@ if [ -f /etc/debian_version ]; then
 		done
 		set -e
 	fi
-elif [ -f /etc/redhat-release ] || [ -f /etc/gentoo-release ] || [ -f /etc/SUSE-brand ] || [ -f /etc/SuSE-release ]; then
+elif [ -f /etc/alpine-release ] || [ -f /etc/redhat-release ] || [ -f /etc/gentoo-release ] || [ -f /etc/SUSE-brand ] || [ -f /etc/SuSE-release ]; then
 
 	# define a fallback... (should never be needed). The XSESSION_EXEC var gets set in
 	# X2Go's x2goruncommand script and can be used with obsolete switchdesk or with