debian/emacsen-remove.ex
changeset 6 81d0c7d2823d
parent 5 e061bc121954
child 7 711db8810afa
equal deleted inserted replaced
5:e061bc121954 6:81d0c7d2823d
     1 #!/bin/sh -e
       
     2 # /usr/lib/emacsen-common/packages/remove/nagios-plugin-avwebgate
       
     3 
       
     4 FLAVOR=$1
       
     5 PACKAGE=nagios-plugin-avwebgate
       
     6 
       
     7 if [ ${FLAVOR} != emacs ]; then
       
     8     if test -x /usr/sbin/install-info-altdir; then
       
     9         echo remove/${PACKAGE}: removing Info links for ${FLAVOR}
       
    10         install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/nagios-plugin-avwebgate.info.gz
       
    11     fi
       
    12 
       
    13     echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
       
    14     rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
       
    15 fi