#!/bin/sh
set -e

# Taken from debhelper
if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/login ];
then
        rm -f /usr/doc/login
fi

case $1 in
    remove|deconfigurei|purge)
	[ -x /etc/init.d/logoutd ] && /etc/init.d/logoutd stop
	;;
esac
