app-office/libreoffice-bin-debug: EAPI-7
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 7 Jul 2019 16:46:03 +0000 (18:46 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 7 Jul 2019 16:46:03 +0000 (18:46 +0200)
Package-Manager: Portage-2.3.68, Repoman-2.3.16
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
app-office/libreoffice-bin-debug/libreoffice-bin-debug-6.2.5.2.ebuild

index 435287d3932b4614af5ab57fac0f09cab0f345ba..82776e8e316ae2ca7c4d27c5e3dc17838efa75e3 100644 (file)
@@ -1,7 +1,7 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 BASE_PACKAGENAME="debug"
 BASE_AMD64_URI="https://tamiko.kyomu.43-1.org/distfiles/amd64-${BASE_PACKAGENAME}-"
@@ -67,7 +67,7 @@ src_unpack() {
        use gnome && patchname="-gnome"
        use java && patchname="${patchname}-java"
 
-       if [ -n "${patchname}" ]; then
+       if [[ -n "${patchname}" ]]; then
                einfo "Patching distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar using ${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3"
                xdelta3 -d -s "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3" "${WORKDIR}/tmpdist.tar" || die
                mv "${WORKDIR}/tmpdist.tar" "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die