[anyterm] Actually create the home directory on first install.

abo abo at fedoraproject.org
Sat Jun 2 08:03:06 UTC 2012


commit de39fa768173fc821d26ec383c991b1de309ece8
Author: Alexander Boström <abo at root.snowtree.se>
Date:   Sat Jun 2 01:23:55 2012 +0200

    Actually create the home directory on first install.

 anyterm.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/anyterm.spec b/anyterm.spec
index cf0fb3e..35199e5 100644
--- a/anyterm.spec
+++ b/anyterm.spec
@@ -1,6 +1,6 @@
 Name: anyterm
 Version: 1.1.29
-Release: 13%{?dist}
+Release: 14%{?dist}
 Summary: A web-based terminal emulator
 
 Group: Applications/Internet
@@ -91,7 +91,7 @@ getent group %{name} >/dev/null 2>&1 || \
    groupadd -r %{name}
 getent passwd %{name} >/dev/null 2>&1 || \
   useradd -r -l -g %{name} -s /sbin/nologin \
-  -d %{_localstatedir}/run/%{name} -c "Anyterm service" %{name}
+  -m -d %{_localstatedir}/run/%{name} -c "Anyterm service" %{name}
 if [[ $(getent passwd %{name} | cut -d: -f6) == /dev/null ]]; then
   mkdir -m755 %{_localstatedir}/run/%{name}
   chown %{name}:%{name} %{_localstatedir}/run/%{name}
@@ -140,6 +140,9 @@ fi
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/anyterm.conf
 
 %changelog
+* Fri Jun  1 2012 Alexander Boström <abo at root.snowtree.se> - 1.1.29-14
+- Actually create the home directory on first install.
+
 * Fri Jun  1 2012 Alexander Boström <abo at root.snowtree.se> - 1.1.29-13
 - Fix spec file typo.
 - Create a home directory for the Anyterm user.


More information about the scm-commits mailing list