summaryrefslogtreecommitdiff
path: root/scripts/prep-librewolf-rpm.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/prep-librewolf-rpm.sh')
-rwxr-xr-xscripts/prep-librewolf-rpm.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/prep-librewolf-rpm.sh b/scripts/prep-librewolf-rpm.sh
index 8e9ef01..0024628 100755
--- a/scripts/prep-librewolf-rpm.sh
+++ b/scripts/prep-librewolf-rpm.sh
@@ -251,7 +251,7 @@ if test -z "${SKIP_SRC_RPM}" ; then
fi
# Upstream fedora firefox does not include some tarballs for some weird reason, so let's pull them from Fedora src.rpm and rip them out
# Unfortunately the version available may not be identical to what is in src.fedoraproject.org
- cd "${work_dir}" ; dnf download --source firefox
+ cd "${work_dir}" ; dnf download --source firefox || :
this_srcrpm="$( find . -iname 'firefox-*.src.rpm' -printf '%f\n' | sort | tail -n1 )"
# find the tarballs closest to these expressions: cbindgen-vendor
cd "${src_rpm_dir}" ; rpm2cpio "${work_dir}/${this_srcrpm}" | cpio -idm $( spectool -l --sources "${src_rpm_dir}/librewolf.spec" | awk '$NF ~/z$/ && $NF ~ /cbindgen/{print $NF}' )
bgstack15