#! /bin/sh set -e run_update_cracklib () { if [ -r /etc/cracklib/cracklib.conf ]; then update-cracklib > /dev/null fi } if [ "$1" = "triggered" ]; then run_update_cracklib exit 0 fi [ "$1" = "configure" ] || exit 0 run_update_cracklib # /etc/cron.daily/cracklib -> cracklib-runtime transition if dpkg --compare-versions "$2" le "2.7-17"; then if [ -e /etc/cron.daily/cracklib ]; then rm -f /etc/cron.daily/cracklib-runtime mv /etc/cron.daily/cracklib /etc/cron.daily/cracklib-runtime fi fi # Automatically added by dh_installdeb/13.11.9 dpkg-maintscript-helper rm_conffile /etc/cron.daily/cracklib-runtime 2.9.6-5\~ cracklib-runtime -- "$@" # End automatically added section exit 0