#!/bin/sh
set -e

if [ -e /etc/psdevtab ] ; then
	rm -f /etc/psdevtab
fi
if [ -e /etc/psdatabase ] 
then
	rm -f /etc/psdatabase
fi
#
# Now to do the alternatives for w
update-alternatives --install /usr/bin/w w /usr/bin/w.procps 50 \
	--slave /usr/man/man1/w.1.gz w.1.gz /usr/man/man1/w.procps.1.gz
#update-alternatives --install /usr/bin/sessreg sessreg /usr/bin/sessreg.procps 50 \
#	--slave /usr/man/man1/sessreg.1.gz sessreg.1.gz /usr/man/man1/sessreg.procps.1.gz

ldconfig

# Automatically added by dh_installmenu
if [ -x /usr/bin/update-menus ] ; then update-menus ; fi
# End automatically added section

