diff options
author | Christian Birchinger <joker@gentoo.org> | 2004-07-01 11:54:30 +0000 |
---|---|---|
committer | Christian Birchinger <joker@gentoo.org> | 2004-07-01 11:54:30 +0000 |
commit | be75fc21bb5ac9a8fdb95d4c8a5404f44f01f863 (patch) | |
tree | 9b1d5c4f04a7669aed3e62fb59a807ad0d8f9273 /app-shells | |
parent | stable on ppc64, bug #54799 (Manifest recommit) (diff) | |
download | gentoo-2-be75fc21bb5ac9a8fdb95d4c8a5404f44f01f863.tar.gz gentoo-2-be75fc21bb5ac9a8fdb95d4c8a5404f44f01f863.tar.bz2 gentoo-2-be75fc21bb5ac9a8fdb95d4c8a5404f44f01f863.zip |
Replaced fperms with doexec and added ROOT variable to pkg_postinst tests.
Diffstat (limited to 'app-shells')
-rw-r--r-- | app-shells/bash-completion/ChangeLog | 6 | ||||
-rw-r--r-- | app-shells/bash-completion/bash-completion-20040526-r2.ebuild | 11 |
2 files changed, 10 insertions, 7 deletions
diff --git a/app-shells/bash-completion/ChangeLog b/app-shells/bash-completion/ChangeLog index 5215d062ef6b..b39fc47c9548 100644 --- a/app-shells/bash-completion/ChangeLog +++ b/app-shells/bash-completion/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-shells/bash-completion # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/ChangeLog,v 1.65 2004/06/24 22:23:06 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/ChangeLog,v 1.66 2004/07/01 11:54:30 joker Exp $ + + 01 Jul 2004; Christian Birchinger <joker@gentoo.org> + bash-completion-20040526-r2.ebuild: + Replaced fperms with doexec and added ROOT variable to pkg_postinst tests. *bash-completion-20040526-r2 (16 Jun 2004) diff --git a/app-shells/bash-completion/bash-completion-20040526-r2.ebuild b/app-shells/bash-completion/bash-completion-20040526-r2.ebuild index 10deeee8a5a8..920e8f69bd82 100644 --- a/app-shells/bash-completion/bash-completion-20040526-r2.ebuild +++ b/app-shells/bash-completion/bash-completion-20040526-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/bash-completion-20040526-r2.ebuild,v 1.3 2004/06/29 03:51:30 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/bash-completion-20040526-r2.ebuild,v 1.4 2004/07/01 11:54:30 joker Exp $ GENCOMP_VERS="1.0_beta" @@ -27,9 +27,8 @@ src_install() { insinto /usr/share/bash-completion doins contrib/* - insinto /etc/profile.d - doins ${FILESDIR}/bash-completion - fperms 755 /etc/profile.d/bash-completion + exeinto /etc/profile.d + doexe ${FILESDIR}/bash-completion dodoc Changelog README @@ -50,7 +49,7 @@ pkg_postinst() { einfo "Additional complete functions can be enabled by symlinking them from" einfo "/usr/share/bash-completion to /etc/bash_completion.d" - if [ -f /etc/bash_completion.d/gentoo.completion ] + if [ -f ${ROOT}/etc/bash_completion.d/gentoo.completion ] then echo ewarn "The file 'gentoo.completion' in '/etc/bash_completion.d/' has been" @@ -58,7 +57,7 @@ pkg_postinst() { fi local bcfile moved - for bcfile in /etc/bash_completion.d/{unrar,harbour,isql,larch,lilypond,p4,ri} + for bcfile in ${ROOT}/etc/bash_completion.d/{unrar,harbour,isql,larch,lilypond,p4,ri} do [ -f "${bcfile}" -a ! -L "${bcfile}" ] && moved="${bcfile##*/} ${moved}" |