summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2012-02-27 21:44:55 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2012-02-27 21:44:55 +0000
commit2cecfb6f0595781138461ed6c65b39b87b1c7528 (patch)
tree10c8c66eae3050f65894560e70b8b6469e22b15a /app-office
parentReduce if condition to oneliner. Less code++ (diff)
downloadgentoo-2-2cecfb6f0595781138461ed6c65b39b87b1c7528.tar.gz
gentoo-2-2cecfb6f0595781138461ed6c65b39b87b1c7528.tar.bz2
gentoo-2-2cecfb6f0595781138461ed6c65b39b87b1c7528.zip
Reduce if condition to oneliner. Less code++
(Portage version: 2.2.0_alpha89/cvs/Linux x86_64)
Diffstat (limited to 'app-office')
-rw-r--r--app-office/libreoffice/ChangeLog5
-rw-r--r--app-office/libreoffice/libreoffice-9999-r2.ebuild5
2 files changed, 6 insertions, 4 deletions
diff --git a/app-office/libreoffice/ChangeLog b/app-office/libreoffice/ChangeLog
index a0934290d15c..73dc6aab1e92 100644
--- a/app-office/libreoffice/ChangeLog
+++ b/app-office/libreoffice/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-office/libreoffice
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/ChangeLog,v 1.242 2012/02/27 21:29:21 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/ChangeLog,v 1.243 2012/02/27 21:44:55 scarabeus Exp $
+
+ 27 Feb 2012; Tomáš Chvátal <scarabeus@gentoo.org> libreoffice-9999-r2.ebuild:
+ Reduce if condition to oneliner. Less code++
27 Feb 2012; Andreas K. Huettel <dilfridge@gentoo.org>
libreoffice-3.4.3.2-r1.ebuild, libreoffice-3.4.5.2.ebuild,
diff --git a/app-office/libreoffice/libreoffice-9999-r2.ebuild b/app-office/libreoffice/libreoffice-9999-r2.ebuild
index 03a9a5f3c3fd..3a5deb64a43c 100644
--- a/app-office/libreoffice/libreoffice-9999-r2.ebuild
+++ b/app-office/libreoffice/libreoffice-9999-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-9999-r2.ebuild,v 1.27 2012/02/27 21:29:20 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-9999-r2.ebuild,v 1.28 2012/02/27 21:44:55 scarabeus Exp $
EAPI=4
@@ -498,9 +498,8 @@ pkg_postinst() {
pax-mark -m "${EPREFIX}"/usr/$(get_libdir)/libreoffice/program/soffice.bin
- if ! use cups ; then
+ use cups || \
ewarn 'You will need net-print/cups to be able to print with libreoffice.'
- fi
}
pkg_postrm() {