tags 389352 patch
thanks

This is the patch of the NMU I am just uploading:

diff -u xtel-3.3.0/debian/postrm xtel-3.3.0/debian/postrm
--- xtel-3.3.0/debian/postrm
+++ xtel-3.3.0/debian/postrm
@@ -21,11 +21,11 @@
 
                                 # update the menu system
         if [ -x /usr/bin/update-menus ]; then update-menus; fi
-     update-inetd --disable xtel
+     [ -x "$(command -v xtel 2>/dev/null)" ] && update-inetd --disable xtel
 
      if [ "$1" = purge ]
      then
-       update-inetd --remove xtel
+       [ -x "$(command -v xtel 2>/dev/null)" ] && update-inetd --remove xtel
        rm -f /var/log/xtel.log*
      rm -f /etc/logrotate.d/xtel
      fi

-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems

Attachment: signature.asc
Description: Digital signature (GPG/PGP)

Reply via email to