aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralane <alane@FreeBSD.org>2003-05-16 22:35:54 +0800
committeralane <alane@FreeBSD.org>2003-05-16 22:35:54 +0800
commitdedcdd0495d7557ab2e11e5669ad53fd8f399d00 (patch)
tree6a6d1a5289f5fb0e66989c2153c724590fbf9f09
parent33491a0149937615c80a5632d7cab4bb6eac9b78 (diff)
downloadfreebsd-ports-gnome-dedcdd0495d7557ab2e11e5669ad53fd8f399d00.tar.gz
freebsd-ports-gnome-dedcdd0495d7557ab2e11e5669ad53fd8f399d00.tar.zst
freebsd-ports-gnome-dedcdd0495d7557ab2e11e5669ad53fd8f399d00.zip
Make sure the conf files are created by the packages from the .N files if
they don't exist.
-rw-r--r--print/cups-base/pkg-plist4
1 files changed, 4 insertions, 0 deletions
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