summaryrefslogtreecommitdiffstats
path: root/system/sddm/doinst.sh
diff options
context:
space:
mode:
author David Woodfall2017-11-03 23:16:54 +0100
committer David Spencer2017-11-04 00:18:38 +0100
commitd74bb259a9038cdbdc7f8ccda71275a466c94f66 (patch)
tree131bd0d72f09b4686f923c2d4b1614ce01b8810e /system/sddm/doinst.sh
parent4b65b136483721f396cd8a21fbd806068d7602b4 (diff)
downloadslackbuilds-d74bb259a9038cdbdc7f8ccda71275a466c94f66.tar.gz
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 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