File: postinst

package info (click to toggle)
dtaus 0.6-0potato1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 168 kB
  • ctags: 104
  • sloc: ansic: 1,210; makefile: 75; sh: 10
file content (9 lines) | stat: -rw-r--r-- 193 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
#! /bin/sh

pkg=dtaus

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