diff options
author | lofi <lofi@FreeBSD.org> | 2005-02-03 16:30:21 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2005-02-03 16:30:21 +0800 |
commit | 4b4d9a78cc2e023fdfdf6ea656dddd87dc5f9bbc (patch) | |
tree | 2183418b91d4a9982fe58dab94336c7ec9d8ac75 /print | |
parent | 18a51e828c7c99eddb708d2f7a24522f0763ed2b (diff) | |
download | freebsd-ports-gnome-4b4d9a78cc2e023fdfdf6ea656dddd87dc5f9bbc.tar.gz freebsd-ports-gnome-4b4d9a78cc2e023fdfdf6ea656dddd87dc5f9bbc.tar.zst freebsd-ports-gnome-4b4d9a78cc2e023fdfdf6ea656dddd87dc5f9bbc.zip |
Only remove filter.conf if unchanged.
Diffstat (limited to 'print')
-rw-r--r-- | print/foomatic-filters/Makefile | 2 | ||||
-rw-r--r-- | print/foomatic-filters/pkg-plist | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/print/foomatic-filters/Makefile b/print/foomatic-filters/Makefile index c87b4ea99afd..bb636f640fac 100644 --- a/print/foomatic-filters/Makefile +++ b/print/foomatic-filters/Makefile @@ -7,7 +7,7 @@ PORTNAME= foomatic-filters PORTVERSION= 3.0.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= print MASTER_SITES= http://www.linuxprinting.org/download/foomatic/ diff --git a/print/foomatic-filters/pkg-plist b/print/foomatic-filters/pkg-plist index 5f9eb63fa48f..31a49f048c08 100644 --- a/print/foomatic-filters/pkg-plist +++ b/print/foomatic-filters/pkg-plist @@ -1,6 +1,6 @@ bin/foomatic-gswrapper bin/foomatic-rip -etc/foomatic/filter.conf +@unexec if cmp -s %D/etc/foomatic/filter.conf %D/etc/foomatic/filter.conf.sample; then rm -f %D/etc/foomatic/filter.conf; fi etc/foomatic/filter.conf.sample lib/ppr/interfaces/foomatic-rip lib/ppr/lib/foomatic-rip @@ -12,4 +12,4 @@ libexec/cups/filter/foomatic-rip @dirrm lib/ppr/lib @dirrm lib/ppr/interfaces @dirrm lib/ppr -@dirrm etc/foomatic +@unexec /bin/rmdir %D/etc/foomatic 2>/dev/null || true |