aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-07-26 10:57:32 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-07-26 10:57:32 -0300
commit625b4e04ad87cad040d3f3b9bccde07357b93dc7 (patch)
tree2ccb3a7dc7234006bc25c980bafb35611e39dcb1
parenta3816e1be1bb1b99ab7ca5d7a553c96f91160252 (diff)
downloadkvmx-625b4e04ad87cad040d3f3b9bccde07357b93dc7.tar.gz
kvmx-625b4e04ad87cad040d3f3b9bccde07357b93dc7.tar.bz2
Fix: provision: debian: desktop-basic: always install the custom xsession config if it does not exist
-rwxr-xr-xshare/provision/debian/desktop-basic13
1 files changed, 10 insertions, 3 deletions
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