aboutsummaryrefslogtreecommitdiff
path: root/debian/libpam-runtime.postinst
diff options
context:
space:
mode:
authorSteve Langasek <steve.langasek@canonical.com>2022-10-05 21:03:10 -0700
committerSteve Langasek <steve.langasek@canonical.com>2022-10-05 21:03:10 -0700
commit6183559b9467d2c3ffbb99228a40a8bfa2fc8c6f (patch)
tree26de8097b547f81347dfb213e8b1d8bcb31d0851 /debian/libpam-runtime.postinst
parent714a766fcbe0d2cef9cdbefcd247be3aae5d6eef (diff)
downloadpam-6183559b9467d2c3ffbb99228a40a8bfa2fc8c6f.tar.gz
pam-6183559b9467d2c3ffbb99228a40a8bfa2fc8c6f.tar.bz2
pam-6183559b9467d2c3ffbb99228a40a8bfa2fc8c6f.zip
Style nitpick wrt variable quoting in path arguments
Diffstat (limited to 'debian/libpam-runtime.postinst')
-rw-r--r--debian/libpam-runtime.postinst4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/libpam-runtime.postinst b/debian/libpam-runtime.postinst
index 792f44ff..03628cfe 100644
--- a/debian/libpam-runtime.postinst
+++ b/debian/libpam-runtime.postinst
@@ -20,9 +20,9 @@ then
for configfile in common-auth common-account common-session \
common-password
do
- if [ -f "$DPKG_ROOT/etc/pam.d/$configfile" ] && \
+ if [ -f "$DPKG_ROOT"/etc/pam.d/$configfile ] && \
! fgrep -q $(calculate_md5sum $configfile) \
- "$DPKG_ROOT/usr/share/pam/$configfile.md5sums" 2>/dev/null
+ "$DPKG_ROOT"/usr/share/pam/$configfile.md5sums 2>/dev/null
then
force=
fi