www-misc/vdradmin-am: missing die's added
authorJoerg Bornkessel <hd_brummy@gentoo.org>
Sun, 12 Jan 2020 18:03:23 +0000 (19:03 +0100)
committerJoerg Bornkessel <hd_brummy@gentoo.org>
Sun, 12 Jan 2020 18:38:02 +0000 (19:38 +0100)
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>
www-misc/vdradmin-am/vdradmin-am-3.6.10.ebuild

index 17158acefd599c43d1cc74e9bee7f91828f19183..4bc211d37054848ae6107fbf3a65ed643d2d1474 100644 (file)
@@ -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
@@ -61,16 +61,16 @@ src_prepare() {
        default
 
        sed -i vdradmind.pl \
-               -e "s-FILES_IN_SYSTEM    = 0;-FILES_IN_SYSTEM    = 1;-g"
+               -e "s-FILES_IN_SYSTEM    = 0;-FILES_IN_SYSTEM    = 1;-g" || die
 
        if use ipv6; then
                sed -e "s:/usr/bin/vdradmind:/usr/bin/vdradmind --ipv6:" \
-                       -i "${WORKDIR}"/vdradmind.service
+                       -i "${WORKDIR}"/vdradmind.service || die
        fi
 
        if use ssl; then
                sed -e "s:/usr/bin/vdradmind:/usr/bin/vdradmind --ssl:" \
-                       -i "${WORKDIR}"/vdradmind.service
+                       -i "${WORKDIR}"/vdradmind.service || die
        fi
 }