commit:     7d691752dab2e00cb99eb162e576a40177025d4e
Author:     Remigiusz Micielski <rmicielski <AT> purelymail <DOT> com>
AuthorDate: Mon Dec  4 18:00:16 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Mon Dec  4 18:00:39 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7d691752

gui-libs/xdg-desktop-portal-hyprland: add missing dies

Signed-off-by: Remigiusz Micielski <rmicielski <AT> purelymail.com>

 .../xdg-desktop-portal-hyprland-1.2.5.ebuild                        | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5.ebuild 
b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5.ebuild
index 4c9eb4dc37..a80f565359 100644
--- 
a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5.ebuild
+++ 
b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5.ebuild
@@ -74,7 +74,7 @@ src_unpack() {
 
 src_prepare() {
        eapply 
"${FILESDIR}/xdg-desktop-portal-hyprland-1.2.5_use_sys_sdbus-c++.patch"
-       sed -i "/add_compile_options(-O3)/d" "${S}/CMakeLists.txt" || die "Sed 
failed"
+       sed -i "/add_compile_options(-O3)/d" "${S}/CMakeLists.txt" || die
        cmake_src_prepare
 }
 
@@ -96,12 +96,12 @@ src_install() {
        doins "${S}/hyprland.portal"
 
        # systemd service
-       sed -i "s|@libexecdir@|${LIBEXEC}|g" "${SYSTEMD_SERVICE}.in"
+       sed -i "s|@libexecdir@|${LIBEXEC}|g" "${SYSTEMD_SERVICE}.in" || die
        mv "${SYSTEMD_SERVICE}.in" "${SYSTEMD_SERVICE}" || die
        systemd_douserunit "${SYSTEMD_SERVICE}"
 
        # dbus service
-       sed -i "s|@libexecdir@|${LIBEXEC}|g" "${DBUS_SERVICE}.in"
+       sed -i "s|@libexecdir@|${LIBEXEC}|g" "${DBUS_SERVICE}.in" || die
        mv "${DBUS_SERVICE}.in" "${DBUS_SERVICE}"
        insinto /usr/share/dbus-1/services/
        doins "${DBUS_SERVICE}"

Reply via email to