summaryrefslogtreecommitdiff
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
commit71139631c8a69ca53254b737e5c15e5bf990d683 (patch)
treefff59f263751f1f797d84f8be4bcf8598038c27f /eclass/cannadic.eclass
parentStable on mips. (diff)
downloadhistorical-71139631c8a69ca53254b737e5c15e5bf990d683.tar.gz
historical-71139631c8a69ca53254b737e5c15e5bf990d683.tar.bz2
historical-71139631c8a69ca53254b737e5c15e5bf990d683.zip
Fix use invocation
Diffstat (limited to 'eclass/cannadic.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."