Date: Thu, 7 Apr 2005 16:20:10 +0200 From: Oliver Lehmann <lehmann@ans-netz.de> To: ports@freebsd.org Subject: fonts-cache.1 "logic" in pkg-plist Message-ID: <20050407162010.3775b21e.lehmann@ans-netz.de>
next in thread | raw e-mail | index | archive | help
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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050407162010.3775b21e.lehmann>