Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/libreoffice-voikko/
Date: Wed, 08 Jan 2020 12:54:39
Message-Id: 1578487926.cd7681c873cbff7558a76a1374326d8214ceaf4a.juippis@gentoo
1 commit: cd7681c873cbff7558a76a1374326d8214ceaf4a
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 8 12:39:00 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 8 12:52:06 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd7681c8
7
8 app-office/libreoffice-voikko: ebuild enhancements
9
10 Closes: https://bugs.gentoo.org/704974
11 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
12
13 app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild | 8 ++++----
14 1 file changed, 4 insertions(+), 4 deletions(-)
15
16 diff --git a/app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild b/app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild
17 index 7d9eece935c..4dfc323f80e 100644
18 --- a/app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild
19 +++ b/app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild
20 @@ -1,4 +1,4 @@
21 -# Copyright 1999-2019 Gentoo Authors
22 +# Copyright 1999-2020 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=7
26 @@ -35,17 +35,17 @@ pkg_postinst() {
27
28 einfo "Trying to register ${COMPONENT} ..."
29 unopkg add --shared "${COMPONENT}"
30 - if [[ $? == 0 ]] ; then
31 + if [[ ${?} == 0 ]] ; then
32 einfo "${PN} registered succesfully with LibreOffice."
33 else
34 - eerror "Couldn’t register ${PN} with LibreOffice."
35 + eerror "Couldn't register ${PN} with LibreOffice."
36 fi
37 }
38
39 pkg_prerm() {
40 # Remove voikko registration from libreoffice
41 unopkg remove --shared org.puimula.ooovoikko
42 - if [[ $? == 0 ]] ; then
43 + if [[ ${?} == 0 ]] ; then
44 einfo "${PN} removed succesfully from LibreOffice."
45 else
46 eerror "Couldn't remove ${PN} from LibreOffice, "