aboutsummaryrefslogtreecommitdiff
path: root/system/sddm/doinst.sh
diff options
context:
space:
mode:
authorDavid Woodfall <dave@dawoodfall.net>2017-11-03 22:16:54 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2017-11-03 23:18:38 +0000
commitd74bb259a9038cdbdc7f8ccda71275a466c94f66 (patch)
tree131bd0d72f09b4686f923c2d4b1614ce01b8810e /system/sddm/doinst.sh
parent4b65b136483721f396cd8a21fbd806068d7602b4 (diff)
system/sddm: Patched + important info in README.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
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 c5a2478d2b27..8133e45f7494 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