summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2023-01-25 08:33:35 -0500
committerB. Stack <bgstack15@gmail.com>2023-01-25 08:33:35 -0500
commit10ebb5d6d62a7b8e440e437f79b87d1f28f6f20d (patch)
treeb5e8ca6e5628b000bddfc84883494b2eac4653bf
parentv109.0 rc1 (diff)
downloadlibrewolf-debian-10ebb5d6d62a7b8e440e437f79b87d1f28f6f20d.tar.gz
librewolf-debian-10ebb5d6d62a7b8e440e437f79b87d1f28f6f20d.tar.bz2
librewolf-debian-10ebb5d6d62a7b8e440e437f79b87d1f28f6f20d.zip
add SKIP_TARBALLS flag
-rwxr-xr-xscripts/prep-librewolf-dpkg.sh16
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}"
bgstack15