File: postinst-doc

package info (click to toggle)
the 3.1-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 4,452 kB
  • ctags: 5,268
  • sloc: ansic: 63,118; sh: 2,399; makefile: 444
file content (9 lines) | stat: -rw-r--r-- 238 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#!/bin/sh -e

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

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