Make install of tallylog non-fatal.

This commit is contained in:
Tomas Mraz 2017-01-03 10:17:58 +01:00
parent 26153ac92d
commit 96b935efa5

View File

@ -241,7 +241,7 @@ done
%post
/sbin/ldconfig
if [ ! -e /var/log/tallylog ] ; then
/usr/bin/install -m 600 /dev/null /var/log/tallylog
/usr/bin/install -m 600 /dev/null /var/log/tallylog || :
fi
%postun -p /sbin/ldconfig