From b163ac298215a2185a459fd1c4f35ecd92f08a07 Mon Sep 17 00:00:00 2001 From: Alan Eldridge Date: Fri, 16 May 2003 14:35:54 +0000 Subject: Make sure the conf files are created by the packages from the .N files if they don't exist. --- print/cups-base/pkg-plist | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'print/cups-base') diff --git a/print/cups-base/pkg-plist b/print/cups-base/pkg-plist index a79a51de53a8..d673c4abe3e9 100644 --- a/print/cups-base/pkg-plist +++ b/print/cups-base/pkg-plist @@ -3,11 +3,15 @@ @exec /bin/rm -fr %D/etc/cups/certs/* 2>/dev/null || true bin/cups-config etc/cups/classes.conf.N +@exec if ! /bin/test -f %D/etc/cups/classes.conf; then /bin/cp %D/etc/cups/classes.conf.N %D/etc/cups/classes.conf; else true; fi etc/cups/client.conf.N +@exec if ! /bin/test -f %D/etc/cups/client.conf; then /bin/cp %D/etc/cups/client.conf.N %D/etc/cups/client.conf; else true; fi etc/cups/cupsd.conf.N +@exec if ! /bin/test -f %D/etc/cups/cupsd.conf; then /bin/cp %D/etc/cups/cupsd.conf.N %D/etc/cups/cupsd.conf; else true; fi etc/cups/mime.convs etc/cups/mime.types etc/cups/printers.conf.N +@exec if ! /bin/test -f %D/etc/cups/printers.conf; then /bin/cp %D/etc/cups/printers.conf.N %D/etc/cups/printers.conf; else true; fi etc/rc.d/cups.sh.sample include/cups/cups.h include/cups/http.h -- cgit v1.2.3