mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 16:35:10 +00:00
Monotone-Parent: 9368ac9a9ee0e1f97f79dd5215bafb59d37660af
Monotone-Revision: 05ac214876f464bdf1a7fd94fc6ee88c41f8f7a6 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-07-24T17:49:09 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -216,6 +216,13 @@ rm -fr ${RPM_BUILD_ROOT}
|
||||
if ! id sogo >& /dev/null; then /usr/sbin/adduser sogo; fi
|
||||
/bin/chown sogo /var/run/sogo
|
||||
/bin/chown sogo /var/log/sogo
|
||||
if [ ! -d /var/spool/sogo ]
|
||||
then
|
||||
/bin/mkdir /var/spool/sogo
|
||||
/bin/chown sogo /var/spool/sogo
|
||||
/bin/chmod 700 /var/spool/sogo
|
||||
fi
|
||||
/sbin/chkconfig --add sogod
|
||||
|
||||
%postun
|
||||
if test "$1" = "0"
|
||||
@@ -223,6 +230,9 @@ then
|
||||
/usr/sbin/userdel sogo
|
||||
/usr/sbin/groupdel sogo
|
||||
/bin/rm -rf /var/run/sogo
|
||||
/bin/rm -rf /var/spool/sogo
|
||||
/sbin/chkconfig --del sogod
|
||||
/sbin/service sogod stop > /dev/null 2>&1
|
||||
fi
|
||||
|
||||
# ********************************* changelog *************************
|
||||
|
||||
Reference in New Issue
Block a user