chiark / gitweb /
categorise changes
[userv.git] / debian / postinst
1 #!/bin/sh
2 set -e
3 update-rc.d userv defaults 19 50
4 /etc/init.d/userv start >/dev/null
5
6 if [ "$1" = "configure" ]; then
7  if [ -d /usr/doc -a ! -e /usr/doc/userv -a -d /usr/share/doc/userv ]; then
8    ln -sf ../share/doc/userv /usr/doc/userv
9   fi
10 fi
11