summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2004-06-25 20:19:36 +0000
committerAron Griffis <agriffis@gentoo.org>2004-06-25 20:19:36 +0000
commit4a7d92769fc18651223e69e743fb72ed5cadc386 (patch)
tree9ba7d93af5023061f2599a7cb9b0257c61ee1b76 /sys-apps/apmd
parentSecurity bumps for the CAN-2004-0495 and CAN-2004-0535 vulnerabilities. (diff)
downloadhistorical-4a7d92769fc18651223e69e743fb72ed5cadc386.tar.gz
historical-4a7d92769fc18651223e69e743fb72ed5cadc386.tar.bz2
historical-4a7d92769fc18651223e69e743fb72ed5cadc386.zip
QA - fix use invocation
Diffstat (limited to 'sys-apps/apmd')
-rw-r--r--sys-apps/apmd/ChangeLog6
-rw-r--r--sys-apps/apmd/apmd-3.0.2-r3.ebuild8
-rw-r--r--sys-apps/apmd/apmd-3.2.0.ebuild8
3 files changed, 13 insertions, 9 deletions
diff --git a/sys-apps/apmd/ChangeLog b/sys-apps/apmd/ChangeLog
index 33953f501829..409869e190f3 100644
--- a/sys-apps/apmd/ChangeLog
+++ b/sys-apps/apmd/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/apmd
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/apmd/ChangeLog,v 1.15 2004/06/24 21:58:04 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/apmd/ChangeLog,v 1.16 2004/06/25 20:18:59 agriffis Exp $
+
+ 25 Jun 2004; Aron Griffis <agriffis@gentoo.org> apmd-3.0.2-r3.ebuild,
+ apmd-3.2.0.ebuild:
+ QA - fix use invocation
06 Jun 2004; Travis Tilley <lv@gentoo.org> apmd-3.2.1_p4.ebuild:
marking stable on amd64 for gcc 3.4 fix
diff --git a/sys-apps/apmd/apmd-3.0.2-r3.ebuild b/sys-apps/apmd/apmd-3.0.2-r3.ebuild
index fb1933920fa7..6f57df1e3143 100644
--- a/sys-apps/apmd/apmd-3.0.2-r3.ebuild
+++ b/sys-apps/apmd/apmd-3.0.2-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/apmd/apmd-3.0.2-r3.ebuild,v 1.16 2004/06/24 21:58:04 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/apmd/apmd-3.0.2-r3.ebuild,v 1.17 2004/06/25 20:18:59 agriffis Exp $
inherit eutils
@@ -29,7 +29,7 @@ src_unpack() {
-e "s:\(MANDIR\=\${PREFIX}\)\(/man\):\1/share\2:" \
Makefile.orig > Makefile
- if [ `use X` ] ; then
+ if use X ; then
echo -e "xinstall:\n\tinstall\txapm\t\${PREFIX}/bin" >> Makefile
else
cp Makefile Makefile.orig
@@ -60,11 +60,11 @@ src_install() {
insinto /etc/conf.d ; newins ${FILESDIR}/apmd.confd apmd
exeinto /etc/init.d ; newexe ${FILESDIR}/apmd.rc6 apmd
- if [ `use X` ] ; then
+ if use X ; then
make DESTDIR=${D} xinstall || die "xinstall failed"
fi
- if [ ! `use nls` ]
+ if ! use nls
then
rm -rf ${D}/usr/share/man/fr
fi
diff --git a/sys-apps/apmd/apmd-3.2.0.ebuild b/sys-apps/apmd/apmd-3.2.0.ebuild
index d8e935a26204..d2cb591490ac 100644
--- a/sys-apps/apmd/apmd-3.2.0.ebuild
+++ b/sys-apps/apmd/apmd-3.2.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/apmd/apmd-3.2.0.ebuild,v 1.6 2004/06/24 21:58:04 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/apmd/apmd-3.2.0.ebuild,v 1.7 2004/06/25 20:18:59 agriffis Exp $
inherit eutils
@@ -29,7 +29,7 @@ src_unpack() {
-e "s:\(MANDIR\=\${PREFIX}\)\(/man\):\1/share\2:" \
Makefile.orig > Makefile
- if [ `use X` ] ; then
+ if use X ; then
echo -e "xinstall:\n\tinstall\txapm\t\${PREFIX}/bin" >> Makefile
else
cp Makefile Makefile.orig
@@ -65,11 +65,11 @@ src_install() {
insinto /etc/conf.d ; newins ${FILESDIR}/apmd.confd apmd
exeinto /etc/init.d ; newexe ${FILESDIR}/apmd.rc6 apmd
- if [ `use X` ] ; then
+ if use X ; then
make DESTDIR=${D} xinstall || die "xinstall failed"
fi
- if [ ! `use nls` ]
+ if ! use nls
then
rm -rf ${D}/usr/share/man/fr
fi