summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-02-27 01:44:22 +0000
committerMike Frysinger <vapier@gentoo.org>2004-02-27 01:44:22 +0000
commit10e9e80d4e6794762bcf5f254d3102a3ae7eac03 (patch)
treeb0295c9cdfb88f86b2c633ada5be0c33725f540f /sys-apps/discover
parentStable on sparc. <imo>use vim, use vim, use vim, use vim, use vim!</imo> (Man... (diff)
downloadgentoo-2-10e9e80d4e6794762bcf5f254d3102a3ae7eac03.tar.gz
gentoo-2-10e9e80d4e6794762bcf5f254d3102a3ae7eac03.tar.bz2
gentoo-2-10e9e80d4e6794762bcf5f254d3102a3ae7eac03.zip
fix logic behind docbook sed magic #42861
Diffstat (limited to 'sys-apps/discover')
-rw-r--r--sys-apps/discover/discover-2.0.2.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys-apps/discover/discover-2.0.2.ebuild b/sys-apps/discover/discover-2.0.2.ebuild
index be330ae9cecd..258fc9b6519e 100644
--- a/sys-apps/discover/discover-2.0.2.ebuild
+++ b/sys-apps/discover/discover-2.0.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/discover/discover-2.0.2.ebuild,v 1.7 2004/02/25 02:08:17 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/discover/discover-2.0.2.ebuild,v 1.8 2004/02/27 01:44:22 vapier Exp $
DESCRIPTION="Library and front-end for retrieving information about a system's hardware"
HOMEPAGE="http://hackers.progeny.com/discover/"
@@ -19,11 +19,11 @@ PDEPEND="sys-apps/discover-data"
src_unpack() {
unpack ${A}
cd ${S}
- if which docbook-to-man 2>/dev/null ; then
+ if ! which docbook-to-man 2>/dev/null ; then
if which docbook2man 2>/dev/null ; then
- sed -i 's:docbook-to-man:echo:' doctools/docbook.mk
- else
sed -i 's:docbook-to-man:docbook2man:' doctools/docbook.mk
+ else
+ sed -i 's:docbook-to-man:echo:' doctools/docbook.mk
fi
fi
}