~ubuntu-branches/ubuntu/maverick/msttcorefonts/maverick

« back to all changes in this revision

Viewing changes to debian/preinst

  • Committer: Bazaar Package Importer
  • Author(s): Tollef Fog Heen
  • Date: 2005-01-02 10:59:46 UTC
  • Revision ID: james.westby@ubuntu.com-20050102105946-5ym7xxm9dmg417vc
Tags: 1.2
Run update-fonts-dir in /usr/share/fonts/truetype to get rid of
obsolete entries.  (closes: #252895, #280462, #279380)

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
if [ -d /usr/X11R6/lib/X11/fonts/TrueType ]; then
19
19
    update-fonts-dir /usr/X11R6/lib/X11/fonts/TrueType
20
 
    rmdir --ignore-fail-on-non-empty /usr/X11R6/lib/X11/fonts/TrueType
 
20
    if [ ! -L /usr/X11R6/lib/X11/fonts/TrueType ]; then
 
21
        rmdir --ignore-fail-on-non-empty /usr/X11R6/lib/X11/fonts/TrueType
 
22
    fi
21
23
fi
22
24
 
23
25
#DEBHELPER#