#!/bin/sh

# Postinst for pppconfig by John Hasler Wed June 30 1999.  
# You may treat this program as if it was in the public domain.

set -e

if [ -x /usr/bin/update-menus ] ; then
    /usr/bin/update-menus
fi
update-rc.d dns-clean start 39 S . >/dev/null

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

exit 0