diff options
Diffstat (limited to '')
-rw-r--r-- | source/x/x11/post-install/font-misc-misc.post-install | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/source/x/x11/post-install/font-misc-misc.post-install b/source/x/x11/post-install/font-misc-misc.post-install new file mode 100644 index 000000000..43a27f906 --- /dev/null +++ b/source/x/x11/post-install/font-misc-misc.post-install @@ -0,0 +1,17 @@ +# The fonts really should go in /usr/share/fonts: +mkdir -p $PKG/usr/share +mv $PKG/usr/lib/X11/fonts $PKG/usr/share +# I use this strange sequence so I'll notice if anything else +# pops up in /usr/lib/X11: +rmdir $PKG/usr/lib/X11/fonts +rmdir $PKG/usr/lib/X11 +rmdir $PKG/usr/lib +mkdir -p $PKG/usr/share/fonts/misc + +# OK, this seems plain wrong. The install scripts should handle this. + +## We'll use the fonts/encodings on the system, so hopefully they are the right ones... +#( cd /usr/share/fonts/misc +# mkfontdir -e /usr/share/fonts/encodings -e /usr/share/fonts/encodings/large +# cp -a encodings.dir fonts.alias fonts.dir fonts.scale $PKG/usr/share/fonts/misc +#) |