Fixed (/var/log/pandora not found) error in suse rpm

This commit is contained in:
fermin831 2015-11-17 13:51:23 +01:00
parent 8b1453f50f
commit 6ec001465a
1 changed files with 1 additions and 1 deletions

View File

@ -65,9 +65,9 @@ if [ "`id pandora | grep uid | wc -l`" = 0 ]
then then
/usr/sbin/useradd -d %{prefix}/pandora -s /bin/false -M -g 0 pandora /usr/sbin/useradd -d %{prefix}/pandora -s /bin/false -M -g 0 pandora
fi fi
chown pandora:root /var/log/pandora
%post %post
chown pandora:root /var/log/pandora
if [ ! -d /etc/pandora ] ; then if [ ! -d /etc/pandora ] ; then
mkdir -p /etc/pandora mkdir -p /etc/pandora
fi fi