Remove old code.

This commit is contained in:
ajacoutot 2018-10-16 11:18:47 +00:00
parent cd85238b39
commit 68908cadad
2 changed files with 3 additions and 7 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.239 2018/09/04 12:46:20 espie Exp $
# $OpenBSD: Makefile,v 1.240 2018/10/16 11:18:47 ajacoutot Exp $
COMMENT-main= Common Unix Printing System
COMMENT-libs= CUPS libraries and headers
@ -11,7 +11,7 @@ GH_TAGNAME= v${VERSION}
PKGNAME-main= cups-${VERSION}
PKGNAME-libs= cups-libs-${VERSION}
REVISION-main= 1
REVISION-main= 2
REVISION-libs= 0
CATEGORIES= print sysutils

View File

@ -1,6 +1,6 @@
#!/bin/ksh
#
# $OpenBSD: cupsd.rc,v 1.28 2018/01/14 14:42:18 rpe Exp $
# $OpenBSD: cupsd.rc,v 1.29 2018/10/16 11:18:47 ajacoutot Exp $
daemon="${TRUEPREFIX}/sbin/cupsd"
@ -9,10 +9,6 @@ daemon="${TRUEPREFIX}/sbin/cupsd"
pexp="${daemon} .*"
rc_pre() {
# XXX remove for OPENBSD_6_3
rm -f /usr/bin/lp{q,r,rm}.pre-cups /usr/sbin/lp{c,d}.pre-cups \
/usr/share/man/man1/lp{q,r,rm}.1 /usr/share/man/man8/lp{c,d}.8
# XXX cups-driverd(8) can crash when setting up a printer driver
rm -f /var/cache/cups/*