summaryrefslogtreecommitdiff
path: root/scripts/prep-librewolf-rpm.sh
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2021-05-25 19:34:23 -0400
committerB Stack <bgstack15@gmail.com>2021-05-25 19:34:23 -0400
commit7833d3e10c9e508dd67550ad547b4df5da196bf5 (patch)
treee514fb54251f6f0e8bdbb24e6eb777c5ca13f9db /scripts/prep-librewolf-rpm.sh
parentproduce stable rpm (diff)
downloadlibrewolf-fedora-7833d3e10c9e508dd67550ad547b4df5da196bf5.tar.gz
librewolf-fedora-7833d3e10c9e508dd67550ad547b4df5da196bf5.tar.bz2
librewolf-fedora-7833d3e10c9e508dd67550ad547b4df5da196bf5.zip
v88.0.1-1
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