rpms/cyphesis/F-8 cyphesis.spec,1.12,1.13
Michael Thomas (wart)
fedora-extras-commits at redhat.com
Sun Dec 16 02:57:33 UTC 2007
Author: wart
Update of /cvs/extras/rpms/cyphesis/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29052
Modified Files:
cyphesis.spec
Log Message:
Change shell for cyphesis user on existing installs (BZ #425798)
Index: cyphesis.spec
===================================================================
RCS file: /cvs/extras/rpms/cyphesis/F-8/cyphesis.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- cyphesis.spec 25 Nov 2007 00:30:18 -0000 1.12
+++ cyphesis.spec 16 Dec 2007 02:56:56 -0000 1.13
@@ -7,7 +7,7 @@
Name: cyphesis
Version: 0.5.14
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: WorldForge game server
Group: System Environment/Libraries
# Would be GPLv2+, except server/protocol_instructions.h is GPLv2 only.
@@ -137,6 +137,10 @@
getent passwd cyphesis >/dev/null || \
useradd -r -g cyphesis -d %{_datadir}/%{name} \
-c "Cyphesis game server" cyphesis
+cyphesis_shell=`getent passwd cyphesis | cut -d: -f 7`
+if [ "$cyphesis_shell" == "/sbin/nologin" ] ; then
+ chsh cyphesis -s /bin/bash
+fi
exit 0
%post
@@ -221,6 +225,9 @@
%changelog
+* Sat Dec 15 2007 Wart <wart at kobold.org> 0.5.14-2
+- Change shell for cyphesis user on existing installs (BZ #425798)
+
* Sat Nov 3 2007 Wart <wart at kobold.org> 0.5.14-1
- Update to 0.5.14
More information about the fedora-extras-commits
mailing list