Only remove the cache dir on extraunexec.

This commit is contained in:
ajacoutot 2011-10-19 12:59:55 +00:00
parent 24d7a637be
commit bbda32073d
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.116 2011/10/15 07:20:43 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.117 2011/10/19 12:59:55 ajacoutot Exp $
COMMENT= Common Unix Printing System
@ -6,7 +6,7 @@ VERSION= 1.5.0
DISTNAME= cups-${VERSION}-source
PKGNAME= cups-${VERSION}
REVISION= 2
REVISION= 3
CATEGORIES= print sysutils

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.33 2011/09/08 10:33:12 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.34 2011/10/19 12:59:55 ajacoutot Exp $
@conflict LPRng-*
@newgroup _cups:541
@newuser _cups:541:541:daemon:CUPS printer spooler daemon:/var/empty:/sbin/nologin
@ -1052,7 +1052,7 @@ share/locale/zh_TW/cups_zh_TW.po
@unexec-delete %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor 2> /dev/null || true
@exec %D/bin/update-desktop-database
@unexec-delete %D/bin/update-desktop-database
@unexec rm -rf /var/cache/cups
@extraunexec rm -rf /var/cache/cups
@extraunexec rm -rf /var/spool/cups
@owner
@group