diff options
Diffstat (limited to 'scripts/prep-librewolf-dpkg.sh')
-rwxr-xr-x | scripts/prep-librewolf-dpkg.sh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/scripts/prep-librewolf-dpkg.sh b/scripts/prep-librewolf-dpkg.sh index aa53d80..30551b3 100755 --- a/scripts/prep-librewolf-dpkg.sh +++ b/scripts/prep-librewolf-dpkg.sh @@ -378,14 +378,14 @@ rm -f "${debian_dir}"/browser.postrm.in "${debian_dir}"/browser.preinst.in # Build new assets # dpkg-buildpackage needs the orig tarball, debian tarball, and dsc file. -echo "Building new tarballs. This might take a while." 1>&2 - -# orig tarball -cd "${work_dir}" -tar -Jc -f librewolf_"${firefox_version}".orig.tar.xz -C "$( dirname "${source_dir}" )" librewolf_"${firefox_version}" - -# debian tarball -tar -Jc -f librewolf_"${distro_firefox_version}".debian.tar.xz -C "$( dirname "${debian_dir}" )" debian +test -z "${SKIP_TARBALLS}" && { + echo "Building new tarballs. This might take a while." 1>&2 + # orig tarball + cd "${work_dir}" + tar -Jc -f librewolf_"${firefox_version}".orig.tar.xz -C "$( dirname "${source_dir}" )" librewolf_"${firefox_version}" + # debian tarball + tar -Jc -f librewolf_"${distro_firefox_version}".debian.tar.xz -C "$( dirname "${debian_dir}" )" debian +} # dsc file, which needs to be modified cd "${work_dir}" |