summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2012-05-19 15:58:11 +0000
committerUlrich Müller <ulm@gentoo.org>2012-05-19 15:58:11 +0000
commit6aab299d939ab2c4e2f7dfc85d43cf00287ede21 (patch)
tree7f3f029478fd5c7033f8b6b075a97a157027d098 /app-editors/emacs/emacs-21.4-r24.ebuild
parentChange version scheme. Disable online tests (diff)
downloadgentoo-2-6aab299d939ab2c4e2f7dfc85d43cf00287ede21.tar.gz
gentoo-2-6aab299d939ab2c4e2f7dfc85d43cf00287ede21.tar.bz2
gentoo-2-6aab299d939ab2c4e2f7dfc85d43cf00287ede21.zip
Don't try to rebuild the Info dir file if /usr/share/info doesn't exist.
(Portage version: 2.1.10.62/cvs/Linux x86_64)
Diffstat (limited to 'app-editors/emacs/emacs-21.4-r24.ebuild')
-rw-r--r--app-editors/emacs/emacs-21.4-r24.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/app-editors/emacs/emacs-21.4-r24.ebuild b/app-editors/emacs/emacs-21.4-r24.ebuild
index 07705c926408..e528a926a506 100644
--- a/app-editors/emacs/emacs-21.4-r24.ebuild
+++ b/app-editors/emacs/emacs-21.4-r24.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-21.4-r24.ebuild,v 1.2 2012/04/30 16:44:13 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-21.4-r24.ebuild,v 1.3 2012/05/19 15:58:11 ulm Exp $
EAPI=4
WANT_AUTOMAKE="none"
@@ -157,7 +157,7 @@ pkg_preinst() {
local infodir=/usr/share/info/emacs-${SLOT} f
if [ -f "${D}"${infodir}/dir.orig ]; then
mv "${D}"${infodir}/dir{.orig,} || die "moving info dir failed"
- else
+ elif [[ -d "${D}"${infodir} ]]; then
# this should not happen in EAPI 4
ewarn "Regenerating Info directory index in ${infodir} ..."
rm -f "${D}"${infodir}/dir{,.*}