Claudius Link wrote: > On 20.12.2009, at 17:14, Martin Costabel wrote: > >> Claudius Link wrote: >> [] >>> Can't find an appropriate resource fork in /Library/Fonts/Arial >>> /sw/bin/dpkg: error processing applesystemfonts (--install): >>> subprocess post-installation script returned error exit status 1 >>> Errors were encountered while processing: >>> applesystemfonts >>> ### execution of /sw/bin/dpkg-lockwait failed, exit code 1 >>> Failed: can't install package applesystemfonts-1.1-1 >>> ---------- >>> It tuns out that this file (and several others) are empty. >>> $ ls -l /Library/Fonts/Arial >>> -rw-rw-r-- 1 root admin 0 Aug 22 2005 /Library/Fonts/Arial >> Careful there: On 10.5 and earlier, this file is a "resorce fork font", >> which means that 'ls -l' shows a size of 0 Bytes (the data fork), but 'ls >> -l@' shows something nonzero: >> >> ls -l@ /Library/Fonts/Arial >> -rw-rw-r--@ 1 root admin 0 Mar 21 2005 /Library/Fonts/Arial >> com.apple.FinderInfo 32 >> com.apple.ResourceFork 317313 > You are right there. > But the concerned font files didn't contain a resource fork (-rw-rw-r-- > instead of -rw-rw-r--@)
You can also see the resource fork of a file by appending /rsrc to the file name: ls -l /Library/Fonts/Arial/rsrc Hanspeter -- Hanspeter Niederstrasser hanspeter AT snaggledworks DOT com ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
