tv-fonts: wrong path to mkfontdir in .postinst

Geir Helland pjallbais at users.sourceforge.net
Tue Feb 21 22:14:10 UTC 2006


Package: tv-fonts
Version: 1.1-3
Severity: normal


The postinst script runs mkfontdir, but with an invalid path, 
/usr/X11R6/bin/mkfontdir, so it fails.

Fix: use 'mkfontdir' with no path, alternatively '/usr/bin/mkfontdir'
or /usr/bin/X11/mkfontdir.

-- System Information:
Debian Release: testing/unstable
  APT prefers breezy-updates
  APT policy: (500, 'breezy-updates'), (500, 'breezy-security'), (500, 'breezy-backports'), (500, 'breezy')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.1-gh-02-k7
Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8)

-- no debconf information
-------------- next part --------------
--- tv-fonts.postinst	2006-02-21 23:05:27.000000000 +0100
+++ tv-fonts.postinst-fixed	2006-02-21 23:11:50.000000000 +0100
@@ -1,4 +1,4 @@
 #!/bin/sh
-/usr/X11R6/bin/mkfontdir /usr/X11R6/lib/X11/fonts/misc
+mkfontdir /usr/X11R6/lib/X11/fonts/misc
 if test -x /usr/bin/fc-cache; then /usr/bin/fc-cache; fi
 #DEBHELPER#


More information about the ubuntu-users mailing list