summaryrefslogtreecommitdiffstats
path: root/system/sddm/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/sddm/doinst.sh')
-rw-r--r--system/sddm/doinst.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/sddm/doinst.sh b/system/sddm/doinst.sh
index c5a2478d2b..8133e45f74 100644
--- a/system/sddm/doinst.sh
+++ b/system/sddm/doinst.sh
@@ -12,3 +12,14 @@ config() {
}
config etc/sddm.conf.new
+
+if [ -n "$(grep sddm etc/passwd | grep var/empty)" ]; then
+ echo "*NOTICE*"
+ echo
+ echo 'SDDM $HOME is set to /var/empty in /etc/passwd'
+ echo "This needs to be changed to /var/lib/sddm"
+ echo
+ echo "Please run:"
+ echo "usermod -d /var/lib/sddm sddm"
+ echo
+fi