File: postinst

package info (click to toggle)
emacs-lisp-intro 2.04-1
  • links: PTS
  • area: main
  • in suites: sarge, woody
  • size: 2,004 kB
  • ctags: 11
  • sloc: sh: 299; makefile: 55
file content (17 lines) | stat: -rw-r--r-- 473 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
set -e
PACKAGE=emacs-lisp-intro

case "$1" in
    abort-upgrade|abort-remove|abort-deconfigure)  exit 0 ;;
    configure) ;;  # continue below
    *)  exit 0 ;;
esac

if [ -d /usr/doc -a ! -e /usr/doc/$PACKAGE \
     -a -d /usr/share/doc/$PACKAGE ]; then
    ln -sf ../share/doc/$PACKAGE /usr/doc/$PACKAGE
fi
install-info --quiet --section Emacs Emacs \
  --description='A simple introduction to Emacs Lisp programming.' \
  /usr/share/info/emacs-lisp-intro.info