File: postinst

package info (click to toggle)
emacs-lisp-intro 1.05-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 840 kB
  • ctags: 10
  • sloc: makefile: 51; sh: 25
file content (17 lines) | stat: -rw-r--r-- 478 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 --section Emacs Emacs \
  --description='Elementary introduction to programming in Emacs Lisp.' \
  --quiet /usr/share/info/emacs-lisp-intro.info