#!/bin/sh -e chmod +s /usr/sbin/llxcfg-msad-run-umount-script || true chmod +s /usr/sbin/llxcfg-msad-run-umount-all-script || true case "$1" in configure) { llxcfg-pam-admin enable likewise-open ;} || echo "Pam likewise haven't diverted" { llxcfg-pam-admin enable libpam-mount ;} || echo "Pam pam-mount haven't diverted" pam-auth-update --package --force ;; 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