POSTIN
/bin/sh
if [ "`grep xtel /etc/services`" = "" ]; then
echo -n "Mise à jour de /etc/services..."
echo -e "xtel\t\t1313/tcp\t\t\t# Xtel" >> /etc/services
echo -e "xtelw\t\t1314/tcp\t\t\t# Xtel HyperTerminal" >> /etc/services
echo "OK"
fi
killall -HUP xinetd
chkfontpath --list | grep /usr/X11R6/lib/X11/fonts/xtel > /dev/null 2>&1
if [ $? != 0 ]; then
chkfontpath --add /usr/X11R6/lib/X11/fonts/xtel
fi
if [ -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi
POSTUN
/bin/sh
killall -HUP xinetd
if [ "$1" = "0" ]; then
chkfontpath --remove /usr/X11R6/lib/X11/fonts/xtel
fi
if [ "$1" = "0" -a -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi