diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2002-12-03 20:36:52 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2002-12-03 20:36:52 +0000 |
commit | f814e2e689182e4d337b8f21a433ac486742ebcd (patch) | |
tree | ad54aeeefe594332c2d4feedc71cf9c982ebcb2d /sys-apps/shadow | |
parent | fix system-auth.new being installed (diff) | |
download | gentoo-2-f814e2e689182e4d337b8f21a433ac486742ebcd.tar.gz gentoo-2-f814e2e689182e4d337b8f21a433ac486742ebcd.tar.bz2 gentoo-2-f814e2e689182e4d337b8f21a433ac486742ebcd.zip |
some form fixes
Diffstat (limited to 'sys-apps/shadow')
-rw-r--r-- | sys-apps/shadow/shadow-4.0.3-r2.ebuild | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/sys-apps/shadow/shadow-4.0.3-r2.ebuild b/sys-apps/shadow/shadow-4.0.3-r2.ebuild index b5ce47d55497..0120c39f1cae 100644 --- a/sys-apps/shadow/shadow-4.0.3-r2.ebuild +++ b/sys-apps/shadow/shadow-4.0.3-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/shadow/shadow-4.0.3-r2.ebuild,v 1.4 2002/12/03 20:33:01 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/shadow/shadow-4.0.3-r2.ebuild,v 1.5 2002/12/03 20:36:52 azarah Exp $ IUSE="" @@ -142,21 +142,22 @@ src_install() { pkg_postinst() { - ewarn "Due to a security issue, ${ROOT}etc/pam.d/system-auth " - ewarn "is being updated automatically. Your old " - ewarn "system-auth will be backed up as:" - ewarn "${ROOT}etc/pam.d/system-auth.bak" - echo - local CHECK1="$(md5sum ${ROOT}/etc/pam.d/system-auth | cut -d ' ' -f 1)" local CHECK2="$(md5sum ${ROOT}/etc/pam.d/system-auth.new | cut -d ' ' -f 1)" if [ "${CHECK1}" != "${CHECK2}" -a "${FORCE_SYSTEMAUTH_UPDATE}" = "yes" ] then + ewarn "Due to a security issue, ${ROOT}etc/pam.d/system-auth " + ewarn "is being updated automatically. Your old " + ewarn "system-auth will be backed up as:" + ewarn "${ROOT}etc/pam.d/system-auth.bak" + echo + cp -a ${ROOT}/etc/pam.d/system-auth \ ${ROOT}/etc/pam.d/system-auth.bak; mv -f ${ROOT}/etc/pam.d/system-auth.new \ ${ROOT}/etc/pam.d/system-auth + rm -f ${ROOT}/etc/pam.d/._cfg????_system-auth else rm -f ${ROOT}/etc/pam.d/system-auth.new fi |