diff options
author | Sam Hartman <hartmans@debian.org> | 2021-08-26 14:17:22 -0600 |
---|---|---|
committer | Steve Langasek <steve.langasek@canonical.com> | 2021-09-15 17:52:40 -0700 |
commit | 3c81751953f00536c7528c8105c1327862b178ea (patch) | |
tree | 983c3b77ca91458344fb690f6a7a95827f01b5eb /debian/libpam-runtime.postinst | |
parent | 33d1a0b0b105d585a512a28273de3866ddd947ed (diff) | |
download | pam-3c81751953f00536c7528c8105c1327862b178ea.tar.gz pam-3c81751953f00536c7528c8105c1327862b178ea.tar.bz2 pam-3c81751953f00536c7528c8105c1327862b178ea.zip |
pam-auth-update: support DPKG_ROOT
Patch from Johannes 'josch' Schauer to implement a --root argument to
pam-auth-update and to use it in the call in libpam-runtime.
* debian/local/pam-auth-update: support --root
* debian/libpam-runtime.postinst: call with --root $DPKG_ROOT
Diffstat (limited to 'debian/libpam-runtime.postinst')
-rw-r--r-- | debian/libpam-runtime.postinst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/libpam-runtime.postinst b/debian/libpam-runtime.postinst index 518e8d24..053fdae2 100644 --- a/debian/libpam-runtime.postinst +++ b/debian/libpam-runtime.postinst @@ -29,7 +29,7 @@ then done fi -pam-auth-update --package $force +pam-auth-update --root "$DPKG_ROOT" --package $force if [ -n "$force" ]; then rm -f /etc/pam.d/common-auth.pam-old \ |