From 647e8e3cf00c9a54658c013cceccda3ac80f787e Mon Sep 17 00:00:00 2001 From: Tobias Klein Date: Sat, 16 Nov 2024 10:34:09 +0100 Subject: [PATCH] Remove dependency to atspi in case of OpenSuse 15.6 --- docker/build_opensuseleap.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docker/build_opensuseleap.sh b/docker/build_opensuseleap.sh index 3497e49..71acbf4 100755 --- a/docker/build_opensuseleap.sh +++ b/docker/build_opensuseleap.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # This script triggers all the steps necessary for building and packaging Ezra Bible App on Linux. mkdir -p release/electron-installer-redhat @@ -8,6 +8,11 @@ git clone https://github.com/electron-userland/electron-installer-redhat release # See https://github.com/electron-userland/electron-installer-redhat/commit/0ca95554b2bdacd24da7942f459709df41336972 git -C release/electron-installer-redhat checkout 0ca955 +# Remove dependency to atspi in case of OpenSuse 15.6 +if grep -q 15.6 "/etc/os-release"; then + sed -i '/atspi/d' release/electron-installer-redhat/src/dependencies.js +fi + npm install --prefix release/electron-installer-redhat npm run build-linux