summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-06-03 23:40:50 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-06-03 23:40:50 +0000
commitaa30fb41d3017809f2df3771f751162b21f8c55f (patch)
treeb21a09954e0256d46069ab9e9c869a0c90a33afb /eclass
parentinfo page building is broken, use make -i until i can fix them (Manifest reco... (diff)
downloadgentoo-2-aa30fb41d3017809f2df3771f751162b21f8c55f.tar.gz
gentoo-2-aa30fb41d3017809f2df3771f751162b21f8c55f.tar.bz2
gentoo-2-aa30fb41d3017809f2df3771f751162b21f8c55f.zip
Fix use invocation
Diffstat (limited to 'eclass')
-rw-r--r--eclass/cannadic.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/cannadic.eclass b/eclass/cannadic.eclass
index 0bab7d95a919..dc3f71caa69c 100644
--- a/eclass/cannadic.eclass
+++ b/eclass/cannadic.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/cannadic.eclass,v 1.4 2004/05/05 11:41:24 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/cannadic.eclass,v 1.5 2004/06/03 23:40:50 mr_bones_ Exp $
#
# Author: Mamoru KOMACHI <usata@gentoo.org>
#
@@ -71,7 +71,7 @@ src_install() {
cannadic-install $f
done 2>/dev/null
- if [ -n "`use canna`" ] ; then
+ if use canna ; then
dicsdir-install || die
fi
@@ -116,7 +116,7 @@ update-cannadic-dir() {
#
pkg_postinst() {
- if [ -n "`use canna`" ] ; then
+ if use canna ; then
update-cannadic-dir
einfo
einfo "Please restart cannaserver to fit the changes."
@@ -140,7 +140,7 @@ pkg_postinst() {
#
pkg_postrm() {
- if [ -n "`use canna`" ] ; then
+ if use canna ; then
update-cannadic-dir
einfo
einfo "Please restart cannaserver to fit changes."