diff options
Diffstat (limited to 'scripts/prep-librewolf-dpkg.sh')
-rwxr-xr-x | scripts/prep-librewolf-dpkg.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/prep-librewolf-dpkg.sh b/scripts/prep-librewolf-dpkg.sh index c8554c6..e72410f 100755 --- a/scripts/prep-librewolf-dpkg.sh +++ b/scripts/prep-librewolf-dpkg.sh @@ -150,6 +150,8 @@ EOF # workaround to allow an older cargo version until 0.48 is available in SID sed -i 's/cargo (>= 0.48),/cargo (>= 0.46),/g' "${debian_dir}"/control.in sed -i 's/cargo (>= 0.48),/cargo (>= 0.46),/g' "${debian_dir}"/control +sed -i 's/rustc (>= 1.47),/rustc (>= 1.41),/g' "${debian_dir}"/control +sed -i 's/rustc (>= 1.47),/rustc (>= 1.41),/g' "${debian_dir}"/control.in # add patches to debian/patches mkdir -p "${debian_dir}"/patches/librewolf @@ -285,6 +287,8 @@ sed -r \ -e '/libasound2-dev/s/libasound2-dev,/libasound2-dev, libjack-dev,/;' \ -e '/^Vcs-/d' \ -e '/^ firefox/s/firefox/librewolf/g' \ + -e 's/cargo \(>= 0\.48\),/cargo \(>= 0\.46\),/' \ + -e 's/rustc \(>= 1\.47\),/rustc \(>= 1\.41\),/' \ firefox_"${debian_firefox_version}".dsc > librewolf_"${debian_firefox_version}".dsc { echo "Files:" |