File: postinst

package info (click to toggle)
trr19 1.0beta5-11
  • links: PTS
  • area: main
  • in suites: potato
  • size: 372 kB
  • ctags: 78
  • sloc: lisp: 1,347; sh: 209; ansic: 188; makefile: 182
file content (15 lines) | stat: -rw-r--r-- 436 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

## install info files
install-info --quiet --section "Emacs" "Trr" \
  --description="TRaineR, Elisp for the type training." /usr/share/info/trr.info

## format text files
/usr/games/trr_format Constitution_of_the_USA
/usr/games/trr_format The_Constitution_Of_JAPAN

## correct former mistakes
[ -d /usr/lib/emacs/site-lisp/trr ] && rm -rf /usr/lib/emacs/site-lisp/trr
[ -d /var/lib/trr ] && rm -rf /var/lib/trr

#DEBHELPER#