fonts-cache.1 "logic" in pkg-plist

Oliver Lehmann lehmann at ans-netz.de
Thu Apr 7 07:20:16 PDT 2005


Hi,

i've that in my tv-fonts/pkg-plist:

@unexec rm %D/lib/X11/fonts/misc/fonts.cache-1 || true
@unexec fc-cache -f -v %D/lib/X11/fonts/misc || true
@unexec if [ ! -s %D/lib/X11/fonts/misc/fonts.cache-1 ]; then rm %D/lib/
X11/fonts/misc/fonts.cache-1; fi

but pointyhat complains:

=== Checking filesystem state
list of files present before this port was installed but missing after it
was deinstalled)
./usr/X11R6/lib/X11/fonts/misc/fonts.cache-1 missing

So... what should I do? Just remove the last rm if the cache file has a
size of 0?

-- 
 Oliver Lehmann
  http://www.pofo.de/
  http://wishlist.ans-netz.de/


More information about the freebsd-ports mailing list