diff options
author | Ulrich Müller <ulm@gentoo.org> | 2010-10-13 21:37:06 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2010-10-13 21:37:06 +0000 |
commit | eb76b4039099c14866615cf3f1c7a8bb6b60f396 (patch) | |
tree | af4bfe2d6d809d7e9cc1df5f07d08b6e0a4830de /app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild | |
parent | tidy (diff) | |
download | historical-eb76b4039099c14866615cf3f1c7a8bb6b60f396.tar.gz historical-eb76b4039099c14866615cf3f1c7a8bb6b60f396.tar.bz2 historical-eb76b4039099c14866615cf3f1c7a8bb6b60f396.zip |
Create .keepinfodir file to prevent portage from rebuilding the Info dir,
bug 257260.
Package-Manager: portage-2.1.9.16/cvs/Linux x86_64
Diffstat (limited to 'app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild')
-rw-r--r-- | app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild b/app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild index 7bab570c77e9..2abc028339a3 100644 --- a/app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild +++ b/app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild,v 1.16 2010/10/13 14:41:48 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild,v 1.17 2010/10/13 21:36:09 ulm Exp $ EAPI=2 @@ -233,6 +233,7 @@ src_install () { # move info dir to avoid collisions with the dir file generated by portage mv "${D}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \ || die "moving info dir failed" + touch "${D}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir # avoid collision between slots, see bug #169033 e.g. rm "${D}"/usr/share/emacs/site-lisp/subdirs.el @@ -279,7 +280,6 @@ pkg_preinst() { if [ -f "${D}"${infodir}/dir.orig ]; then # prefer existing file if it has survived to here mv "${D}"${infodir}/dir{.orig,} || die "moving info dir failed" - touch "${D}"${infodir}/dir else einfo "Regenerating Info directory index in ${infodir} ..." rm -f "${D}"${infodir}/dir{,.*} |