commit:     cd7681c873cbff7558a76a1374326d8214ceaf4a
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  8 12:39:00 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Jan  8 12:52:06 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd7681c8

app-office/libreoffice-voikko: ebuild enhancements

Closes: https://bugs.gentoo.org/704974
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild 
b/app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild
index 7d9eece935c..4dfc323f80e 100644
--- a/app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild
+++ b/app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -35,17 +35,17 @@ pkg_postinst() {
 
        einfo "Trying to register ${COMPONENT} ..."
        unopkg add --shared "${COMPONENT}"
-       if [[ $? == 0 ]] ; then
+       if [[ ${?} == 0 ]] ; then
                einfo "${PN} registered succesfully with LibreOffice."
        else
-               eerror "Couldn’t register ${PN} with LibreOffice."
+               eerror "Couldn't register ${PN} with LibreOffice."
        fi
 }
 
 pkg_prerm() {
        # Remove voikko registration from libreoffice
        unopkg remove --shared org.puimula.ooovoikko
-       if [[ $? == 0 ]] ; then
+       if [[ ${?} == 0 ]] ; then
                einfo "${PN} removed succesfully from LibreOffice."
        else
                eerror "Couldn't remove ${PN} from LibreOffice, "

Reply via email to