#!/bin/sh

# Avoid executing multiple times.
if [ -n "$DEB_MAINT_PARAMS" ];then
    eval set -- "$DEB_MAINT_PARAMS"
    if [ -z "$1" ] || [ "$1" != "remove" ]
    then
        case "$1" in
            remove|configure)
                ;;
            *)
                exit 0
        esac
    fi
fi

if [ -f /etc/zipl.conf ]
then
    zipl </dev/null >&2
else
    echo "WARNING, not invoking zipl: /etc/zipl.conf not found" >&2
fi
