summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>2000-10-11 00:56:13 +0000
committerSatoshi Asami <asami@FreeBSD.org>2000-10-11 00:56:13 +0000
commitae3b0ce5e505f0630dcc8677f56b1e0983b94da5 (patch)
treeee37597806cf76cb49c00e061fcaa69cfca91595 /textproc
parentSince people don't seem to appreciate the fact that addport can do (diff)
Remove share/sgml/catalog if it's empty.
Reported by: bento Reviewed by: kuriyama
Notes
Notes: svn path=/head/; revision=33695
Diffstat (limited to 'textproc')
-rw-r--r--textproc/jade/pkg-plist1
1 files changed, 1 insertions, 0 deletions
diff --git a/textproc/jade/pkg-plist b/textproc/jade/pkg-plist
index 7fa3bb24cd23..1d8794e3000b 100644
--- a/textproc/jade/pkg-plist
+++ b/textproc/jade/pkg-plist
@@ -171,6 +171,7 @@ share/sgml/jade/FOT.tex
share/sgml/jade/Makefile.jadetex
share/sgml/jade/catalog
@unexec env LANG=C perl -ni -e 'print if !m|%D/%F|;' %D/share/sgml/catalog
+@unexec if [ -f %D/share/sgml/catalog -a ! -s %D/share/sgml/catalog ]; then rm -f %D/share/sgml/catalog; fi
@exec if [ ! -f %D/share/sgml/catalog ]; then echo "CATALOG \"%D/%F\"" > %D/share/sgml/catalog; else env LANG=C perl -ni -e 'print if !m|%D/%F|;print "CATALOG \"%D/%F\"\n" if eof;' %D/share/sgml/catalog; fi
share/sgml/jade/demo.dsl
share/sgml/jade/demo.sgm