Reportrcconfpostrm

Status: Accepted

Colis script


begin
  true ;
  case_643450 := arg 1 ;
  (test [ case_643450; '='; 'remove' ] ||
    if test [ case_643450; '='; 'purge' ]
    then rm [ '-rf'; '/var/lib/rcconf' ] fi) ;
  exit success
end

Original Shell script

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

set -e

case "$1" in
  remove)
    ;;
  purge)
#    if [ -f /var/lib/rcconf/services ]; then
#      rm /var/lib/rcconf/services
#    fi
    rm -rf /var/lib/rcconf
    ;;
esac

exit 0