Status: Accepted
begin
true ;
mode := arg 1 ;
case_9520357 := mode ;
if (test [ case_9520357; '='; 'remove' ] ||
test [ case_9520357; '='; 'upgrade' ])
then begin
echo [ 'Stopping courier-filter-perl mail filter ...' ] ;
filterctl [ 'stop'; 'courier-filter-perl' ]
end
fi
end
#!/bin/sh
set -e
mode=$1
case "$mode" in
remove | upgrade )
echo "Stopping courier-filter-perl mail filter ..."
filterctl stop courier-filter-perl
;;
esac