mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
Remove share/sgml/catalog if it's empty.
Reported by: bento Reviewed by: kuriyama
This commit is contained in:
parent
ae9e3e2171
commit
ae3b0ce5e5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33695
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user