Make sure rc_post does not fail by using rm -f ; lockfiles aren't

supposed to stay around.

from rte
This commit is contained in:
ajacoutot 2012-08-25 11:41:46 +00:00
parent 864dad392e
commit 1357eb3177
2 changed files with 4 additions and 4 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.12 2012/07/19 15:27:11 landry Exp $
# $OpenBSD: Makefile,v 1.13 2012/08/25 11:41:46 ajacoutot Exp $
COMMENT= webbased rss reader with standalone look and feel
DISTNAME= tt-rss-1.5.11
CATEGORIES= www
REVISION = 0
REVISION = 1
HOMEPAGE= http://tt-rss.org/

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $OpenBSD: tt_rss_update.rc,v 1.3 2012/05/03 18:45:39 landry Exp $
# $OpenBSD: tt_rss_update.rc,v 1.4 2012/08/25 11:41:46 ajacoutot Exp $
daemon="${INSTDIR}/update.php -daemon"
daemon_user="www"
@ -13,7 +13,7 @@ rc_bg=YES
rc_reload=NO
rc_post() {
rm ${INSTDIR}/lock/update_daemon.lock
rm -f ${INSTDIR}/lock/update_daemon.lock
}
rc_cmd $1