From 625b4e04ad87cad040d3f3b9bccde07357b93dc7 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 26 Jul 2024 10:57:32 -0300 Subject: Fix: provision: debian: desktop-basic: always install the custom xsession config if it does not exist --- share/provision/debian/desktop-basic | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'share') diff --git a/share/provision/debian/desktop-basic b/share/provision/debian/desktop-basic index c4cc33a..2eeaf5d 100755 --- a/share/provision/debian/desktop-basic +++ b/share/provision/debian/desktop-basic @@ -77,6 +77,13 @@ fi # User configuration mkdir -p $HOME/.custom -if [ ! -e "$HOME/.custom/xsession" ]; then - cp $DIRNAME/files/desktop-basic/home/user/.custom/xsession $HOME/.custom/xsession -fi +# Only install the custom xsession config if it does not exist +#if [ ! -e "$HOME/.custom/xsession" ]; then +# cp $DIRNAME/files/desktop-basic/home/user/.custom/xsession $HOME/.custom/xsession +#fi + +# Always install the custom xsession config if it does not exist +# +# VMs with custom xsession procedures should use an additional +# $HOME/.custom/xsession-$HOSTNAME +cp $DIRNAME/files/desktop-basic/home/user/.custom/xsession $HOME/.custom/xsession -- cgit v1.2.3