#!/bin/sh set -e DIRECTORYPAM="/usr/share/pam-configs/" DIRECTORYDIVERTED="/usr/share/llxcfg-pamnss/pam-diverted/" DIVERT_LIST="krb5 likewise-open5-lsass ldap libpam-mount likewise-open smbpasswd-migrate" case "$1" in configure) # Divert pam configs for f in $DIVERT_LIST ; do echo "llxcfg-pam-admin divert $f" llxcfg-pam-admin divert $f || echo "Unable to divert file \"$f\"" >&2 done ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0