diff --git a/openssh/openssh.spec b/openssh/openssh.spec index 72de4a4f98..2812b63ef3 100644 --- a/openssh/openssh.spec +++ b/openssh/openssh.spec @@ -35,7 +35,7 @@ Distribution: OpenPKG [EXP] Group: Cryptography License: BSD Version: %{V_openssh} -Release: 8 +Release: 9 # list of sources Source0: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{V_openssh}.tar.gz @@ -210,8 +210,9 @@ AutoReqProv: no if [ -f /etc/pam.conf ]; then check=`grep "^#" /etc/pam.conf` if [ ".$check" != . ]; then + prefix=`echo $RPM_INSTALL_PREFIX | sed -e 's;/;\\/;g'` cp /etc/pam.conf /etc/pam.conf.tmp && \ - sed -e "/^#/,/^#<\\/OpenPKG>/d" \ + sed -e "/^#/,/^#<\\/OpenPKG>/d" \ /etc/pam.conf && \ rm -f /etc/pam.conf.tmp fi