File: postinst

package info (click to toggle)
tkmail 4.0beta9-8.1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,444 kB
  • ctags: 923
  • sloc: tcl: 13,262; ansic: 6,998; makefile: 351; sh: 88; sed: 57
file content (15 lines) | stat: -rw-r--r-- 306 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
# post install script for the Debian GNU/Linux tkmail package

set -e

if [ "$1" = "configure" ]; then
  if [ -d /usr/doc -a ! -e /usr/doc/tkmail -a -d /usr/share/doc/tkmail ]; then
   ln -sf ../share/doc/tkmail /usr/doc/tkmail
  fi
fi


if [ -x /usr/bin/update-menus ]; then
    update-menus
fi