summaryrefslogtreecommitdiff
path: root/scripts/prep-librewolf-dpkg.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/prep-librewolf-dpkg.sh')
-rwxr-xr-xscripts/prep-librewolf-dpkg.sh13
1 files changed, 5 insertions, 8 deletions
diff --git a/scripts/prep-librewolf-dpkg.sh b/scripts/prep-librewolf-dpkg.sh
index 91972a5..cc809af 100755
--- a/scripts/prep-librewolf-dpkg.sh
+++ b/scripts/prep-librewolf-dpkg.sh
@@ -32,14 +32,11 @@ librewolf_common_url=https://gitlab.com/librewolf-community/browser/common.git
librewolf_settings_url=https://gitlab.com/librewolf-community/settings.git
librewolf_linux_url=https://gitlab.com/librewolf-community/browser/linux.git
-case "${DISTRO}" in
- ubuntu)
- _mozconfig='/config/mozconfig.in'
- ;;
- *)
- _mozconfig='/browser.mozconfig.in'
- ;;
-esac
+if [[ DISTRO == 'ubuntu' ]]; then
+ _mozconfig='/config/mozconfig.in'
+else
+ _mozconfig='/browser.mozconfig.in'
+fi
# user configurable
git_source_dir=${CI_PROJECT_DIR}/git # where LibreWolf git contents are cached
bgstack15