2012-06-21 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_agent.redhat.spec: Merged from 4.0 branch. Don't create pandora user if already exists. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6717 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
5c4262130e
commit
cbbaa6ec83
|
@ -1,3 +1,8 @@
|
||||||
|
2012-06-21 Koichiro Kikuchi <koichiro@rworks.jp>
|
||||||
|
|
||||||
|
* pandora_agent.redhat.spec: Merged from 4.0 branch. Don't create
|
||||||
|
pandora user if already exists.
|
||||||
|
|
||||||
2012-05-30 Ramon Novoa <rnovoa@artica.es>
|
2012-05-30 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
* pandora_agent: Merged from 4.0 branch. Check for valid regular
|
* pandora_agent: Merged from 4.0 branch. Check for valid regular
|
||||||
|
|
|
@ -66,10 +66,10 @@ fi
|
||||||
rm -Rf $RPM_BUILD_ROOT
|
rm -Rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
/usr/sbin/useradd -d %{prefix}/pandora -s /bin/false -M -g 0 pandora
|
getent passwd pandora >/dev/null || \
|
||||||
|
/usr/sbin/useradd -d %{prefix}/pandora -s /bin/false -M -g 0 pandora
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
if [ ! -d /etc/pandora ] ; then
|
if [ ! -d /etc/pandora ] ; then
|
||||||
mkdir -p /etc/pandora
|
mkdir -p /etc/pandora
|
||||||
|
|
Loading…
Reference in New Issue