Comment 5 for bug 1647638

Revision history for this message
Tiago Stürmer Daitx (tdaitx) wrote :

Small correction to get the right zz-fail file (needs to escape $), please run:

$ sudo tee /etc/kernel/postinst.d/zz-fail <<EOF
#!/bin/sh -e

# Avoid running multiple times
if [ -n "\$DEB_MAINT_PARAMS" ]; then
    eval set -- "\$DEB_MAINT_PARAMS"
    if [ -z "\$1" ] || [ "\$1" != "configure" ]; then
        exit 0
    fi
fi

exit 1
EOF