Reportrcconfprerm

Status: Accepted

Colis script


begin
  true ;
  case_5363931 := arg 1 ;
  if ((test [ case_5363931; '='; 'remove' ] ||
        test [ case_5363931; '='; 'upgrade' ]) ||
       test [ case_5363931; '='; 'purge' ])
  then if [ [ '-e'; '/usr/bin/rcconf'; ']' ] then rm [ '/usr/bin/rcconf' ] fi
  fi ;
  exit success
end

Original Shell script

#!/bin/sh
#
# This is the rerm script for the Debian GNU/Linux rcconf package
# Written by Atsushi Kamoshida 
#

set -e

case "$1" in
    remove|upgrade|purge)
        if [ -e /usr/bin/rcconf ]; then
            rm /usr/bin/rcconf
        fi
        ;;
    *)
        ;;
esac

exit 0