commit:     14b03387a53bc88cfa2011c43bbc61bf4af59374
Author:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Tue Jan 17 04:50:55 2023 +0000
Commit:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Tue Jan 17 04:55:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=14b03387

sys-apps/openSeaChest: rmdir || die, fix var order

Addresses comments on the commit introducing this package.

Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>

 sys-apps/openSeaChest/openSeaChest-22.07.ebuild | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/sys-apps/openSeaChest/openSeaChest-22.07.ebuild 
b/sys-apps/openSeaChest/openSeaChest-22.07.ebuild
index 90839415d..1881c1951 100644
--- a/sys-apps/openSeaChest/openSeaChest-22.07.ebuild
+++ b/sys-apps/openSeaChest/openSeaChest-22.07.ebuild
@@ -7,8 +7,6 @@ inherit meson
 
 DESCRIPTION="SeaGate's open source harddrive control utilities"
 HOMEPAGE="https://github.com/Seagate/openSeaChest";
-LICENSE="MPL-2.0"
-
 SRC_URI="
 https://github.com/Seagate/openSeaChest/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz
 
https://api.github.com/repos/Seagate/opensea-common/tarball/a2155bb5d1f45e50cc2e0158ed183d15e12de6bd
 -> opensea-common-a2155bb5d1f45e50cc2e0158ed183d15e12de6bd.tar.gz
@@ -16,7 +14,7 @@ 
https://api.github.com/repos/Seagate/opensea-operations/tarball/f9eab78b3cc349a7
 
https://api.github.com/repos/Seagate/opensea-transport/tarball/f09d599a992e4e12e2537e9e5592c8bdf799dc0a
 -> opensea-transport-f09d599a992e4e12e2537e9e5592c8bdf799dc0a.tar.gz
 
https://api.github.com/repos/Seagate/wingetopt/tarball/a8c80ade25449464bc847d65420f41eb5262ff62
 -> wingetopt-a8c80ade25449464bc847d65420f41eb5262ff62.tar.gz
 "
-
+LICENSE="MPL-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64"
 RDEPEND=""
@@ -29,13 +27,13 @@ src_prepare() {
 
        # Move over submodules, because the upstream tar doesn't have them.
        mkdir -p "${S}"/'subprojects'
-       rmdir "${S}"/'subprojects/opensea-common' || true
+       rmdir "${S}"/'subprojects/opensea-common' || die 
        mv "${WORKDIR}"/'Seagate-opensea-common-a2155bb' 
"${S}"/'subprojects/opensea-common'
-       rmdir "${S}"/'subprojects/opensea-operations' || true
+       rmdir "${S}"/'subprojects/opensea-operations' || die 
        mv "${WORKDIR}"/'Seagate-opensea-operations-f9eab78' 
"${S}"/'subprojects/opensea-operations'
-       rmdir "${S}"/'subprojects/opensea-transport' || true
+       rmdir "${S}"/'subprojects/opensea-transport' || die
        mv "${WORKDIR}"/'Seagate-opensea-transport-f09d599' 
"${S}"/'subprojects/opensea-transport'
-       rmdir "${S}"/'subprojects/wingetopt' || true
+       rmdir "${S}"/'subprojects/wingetopt' || die
        mv "${WORKDIR}"/'Seagate-wingetopt-a8c80ad' 
"${S}"/'subprojects/wingetopt'
 }
 

Reply via email to