aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2022-05-24 21:05:43 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2022-05-24 21:05:43 +0200
commitd3320b9d483194a30b6b152d6103a1cef738befe (patch)
tree3d3029718bad712c8700a093e370d34d6951078b /net-misc/yacy
parentprofiles: mask app-crypt/certbot-dns-digitalocean (diff)
downloadguru-d3320b9d483194a30b6b152d6103a1cef738befe.tar.gz
guru-d3320b9d483194a30b6b152d6103a1cef738befe.tar.bz2
guru-d3320b9d483194a30b6b152d6103a1cef738befe.zip
net-misc/yacy: minor QA, add || die, fix indentation
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'net-misc/yacy')
-rw-r--r--net-misc/yacy/yacy-1.924.20210209.10069.ebuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/net-misc/yacy/yacy-1.924.20210209.10069.ebuild b/net-misc/yacy/yacy-1.924.20210209.10069.ebuild
index c8ca6a480..6663b8ccd 100644
--- a/net-misc/yacy/yacy-1.924.20210209.10069.ebuild
+++ b/net-misc/yacy/yacy-1.924.20210209.10069.ebuild
@@ -18,9 +18,11 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="systemd +openrc"
-DEPEND=">=virtual/jdk-1.8
- acct-group/yacy
- acct-user/yacy"
+DEPEND="
+ >=virtual/jdk-1.8
+ acct-group/yacy
+ acct-user/yacy
+"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}"
@@ -35,7 +37,7 @@ src_install() {
rm ${S}/*.sh || die
# remove sources
rm -r "${S}/source" || die
- rm ${S}/build.properties ${S}/build.xml
+ rm ${S}/build.properties ${S}/build.xml || die
dodoc AUTHORS NOTICE && rm AUTHORS NOTICE COPYRIGHT gpl.txt
@@ -49,7 +51,7 @@ src_install() {
chown yacy:yacy "${D}/var/log/yacy" || die
keepdir /var/log/yacy
- rmdir "$D/$yacy_home/DATA"
+ rmdir "$D/$yacy_home/DATA" || die
dosym /var/lib/yacy /${yacy_home}/DATA
use openrc && {