Browse Source

do not remove top-level dir

master
parent
commit
3b7bb00747
  1. 4
      inn/inn.spec

4
inn/inn.spec

@ -33,7 +33,7 @@ Distribution: OpenPKG [BASE]
Group: News
License: ISC
Version: 2.4.0
Release: 20030722
Release: 20030723
# package options
%option with_fsl yes
@ -266,6 +266,6 @@ AutoReqProv: no
# before erase, stop service and remove log files
[ $1 -eq 0 ] || exit 0
%{l_rc} inn stop 2>/dev/null
rm -rf $RPM_INSTALL_PREFIX/var/inn/log/ >/dev/null 2>&1 || true
rm -rf $RPM_INSTALL_PREFIX/var/inn/log/* >/dev/null 2>&1 || true
exit 0

Loading…
Cancel
Save