SHA256
1
0
forked from pool/pam_mount

fix "error: incorrect format: missing { after %" on %post

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam_mount?expand=0&rev=32
This commit is contained in:
Jan Engelhardt 2011-08-30 05:46:39 +00:00 committed by Git OBS Bridge
parent bd1bd4e4ac
commit 22de1b4f06
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Aug 30 05:45:50 UTC 2011 - jengelh@medozas.de
- Fix "error: incorrect format: missing { after %" on run of %post
-------------------------------------------------------------------
Wed Aug 10 11:00:29 UTC 2011 - jengelh@medozas.de

View File

@ -98,7 +98,7 @@ then
fi
if [ "$1" -gt 1 ]
then
for v in `rpm -q --queryformat "%%VERSION " %name`; do
for v in `rpm -q --queryformat "%%{VERSION} " %name`; do
if echo "$v" | grep -E "^0\." - ; then
%_docdir/%name/examples/convert_keyhash.pl \
-i etc/security/pam_mount.conf.xml