@exec %D/bin/update-desktop-database lines must come *before* @rcscript

because, as pascal pointed out, @rcscript has an implicit @cwd. Simplified
from a diff from dcoppa.
This commit is contained in:
sthen 2012-11-26 15:57:46 +00:00
parent c1a6e94726
commit 558192782f
2 changed files with 4 additions and 4 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.48 2012/11/20 15:08:00 pascal Exp $
# $OpenBSD: Makefile,v 1.49 2012/11/26 15:57:46 sthen Exp $
COMMENT= fantasy turn-based strategy game
DISTNAME= wesnoth-1.10.4
REVISION= 1
REVISION= 2
CATEGORIES= games x11

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.28 2012/11/20 15:08:00 pascal Exp $
@comment $OpenBSD: PLIST,v 1.29 2012/11/26 15:57:46 sthen Exp $
@newgroup _wesnothd:708
@newuser _wesnothd:708:_wesnothd:daemon:Wesnoth Server:/var/wesnothd:/sbin/nologin
@pkgpath games/wesnoth,tinygui
@ -13397,6 +13397,6 @@ share/wesnoth/translations/zh_TW/LC_MESSAGES/wesnoth.mo
@owner
@group
@mode
@rcscript ${RCDIR}/wesnothd
@exec %D/bin/update-desktop-database
@unexec-delete %D/bin/update-desktop-database
@rcscript ${RCDIR}/wesnothd