File: postinst

package info (click to toggle)
x-symbol 3.3b-4
  • links: PTS
  • area: main
  • in suites: potato
  • size: 2,296 kB
  • ctags: 682
  • sloc: lisp: 9,017; makefile: 201; sh: 50; perl: 46
file content (17 lines) | stat: -rw-r--r-- 438 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

case "$1" in
  configure)
    path="/usr/X11R6/lib/X11/fonts/misc"
    if [ -x /usr/X11R6/bin/mkfontdir ]; then
      echo "Making font directory $path..."
      /usr/X11R6/bin/mkfontdir $path
    fi
    if [ -x /usr/sbin/install-info ]; then
      echo "Installing info documentation"
      /usr/sbin/install-info --quiet --section "Document Perperation" "Document Preperation" \
	/usr/info/x-symbol.info.gz
    fi
  ;;
esac