summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libgphoto2/libgphoto2-2.1.2-r1.ebuild')
-rw-r--r--media-libs/libgphoto2/libgphoto2-2.1.2-r1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/media-libs/libgphoto2/libgphoto2-2.1.2-r1.ebuild b/media-libs/libgphoto2/libgphoto2-2.1.2-r1.ebuild
index f53d5f0ef30d..a9eb03aec536 100644
--- a/media-libs/libgphoto2/libgphoto2-2.1.2-r1.ebuild
+++ b/media-libs/libgphoto2/libgphoto2-2.1.2-r1.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/media-libs/libgphoto2/libgphoto2-2.1.2-r1.ebuild,v 1.11 2004/04/27 21:56:35 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/libgphoto2-2.1.2-r1.ebuild,v 1.12 2004/06/07 22:58:59 agriffis Exp $
inherit libtool eutils
@@ -58,7 +58,7 @@ src_install() {
install || die "install failed"
# manually move apidocs
- if [ -n "`use doc`" ]; then
+ if use doc; then
dodir /usr/share/doc/${PF}/api
mv ${D}/usr/share/doc/libgphoto2/html/api/* ${D}/usr/share/doc/${PF}/api/
mv ${D}/usr/share/doc/libgphoto2_port/html/api/* ${D}/usr/share/doc/${PF}/api/