File: postinst

package info (click to toggle)
spider 1.1-9
  • links: PTS
  • area: main
  • in suites: woody
  • size: 644 kB
  • ctags: 1,043
  • sloc: ansic: 6,251; makefile: 609; sh: 15
file content (10 lines) | stat: -rw-r--r-- 237 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
set -e

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

if test -x /usr/bin/update-menus; then update-menus; fi