diff options
Diffstat (limited to 'scripts/prep-librewolf-dpkg.sh')
-rwxr-xr-x | scripts/prep-librewolf-dpkg.sh | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/scripts/prep-librewolf-dpkg.sh b/scripts/prep-librewolf-dpkg.sh index 179a658..30a574a 100755 --- a/scripts/prep-librewolf-dpkg.sh +++ b/scripts/prep-librewolf-dpkg.sh @@ -82,9 +82,9 @@ test -z "${SKIP_EXTRACT}" && { # test -z "${SKIP_GIT}" && ( # yes, use a sub-shell because of this cd. pushd is a bash builtin, but we are using sh and not bash. # cd "${git_source_dir}" - git clone "${librewolf_common_url}" ${git_source_dir}/common - git clone "${librewolf_settings_url}" ${git_source_dir}/settings - git clone "${librewolf_linux_url}" ${git_source_dir}/linux + git clone "${librewolf_common_url}" ${git_source_dir}/common || ( cd "${git_source_dir}/common" ; git checkout master ; git pull ; ) + git clone "${librewolf_settings_url}" ${git_source_dir}/settings || ( cd "${git_source_dir}/settings" ; git checkout master ; git pull ; ) + git clone "${librewolf_linux_url}" ${git_source_dir}/linux || ( cd "${git_source_dir}/linux" ; git checkout master ; git pull ; ) # ) @@ -174,9 +174,9 @@ sed -i 's/rustc (>= 1.47),/rustc (>= 1.41),/g' "${debian_dir}"/control.in mkdir -p "${debian_dir}"/patches/librewolf if test "${DISTRO}" = "ubuntu" ; then - cp -pr "${git_source_dir}"/linux/megabar.patch \ - "${git_source_dir}"/linux/remove_addons.patch \ - "${git_source_dir}"/linux/mozilla-vpn-ad.patch \ + cp -pr "${git_source_dir}"/common/patches/megabar.patch \ + "${git_source_dir}"/common/patches/remove_addons.patch \ + "${git_source_dir}"/common/patches/mozilla-vpn-ad.patch \ "${debian_dir}"/patches/librewolf/ cat <<EOF >> "${debian_dir}"/patches/series librewolf/remove_addons.patch -p1 @@ -184,9 +184,9 @@ librewolf/megabar.patch -p1 librewolf/mozilla-vpn-ad.patch -p1 EOF else - cp -pr "${git_source_dir}"/linux/megabar.patch \ - "${git_source_dir}"/linux/remove_addons.patch \ - "${git_source_dir}"/linux/mozilla-vpn-ad.patch \ + cp -pr "${git_source_dir}"/common/patches/megabar.patch \ + "${git_source_dir}"/common/patches/remove_addons.patch \ + "${git_source_dir}"/common/patches/mozilla-vpn-ad.patch \ "${git_source_dir}"/linux/deb_patches/*.patch \ "${debian_dir}"/patches/librewolf/ cat <<EOF >> "${debian_dir}"/patches/series @@ -280,7 +280,7 @@ if test "${DISTRO}" = "debian" ; then cat <<EOF >> "${debian_dir}"/browser.install.in debian/librewolf_settings/librewolf.cfg usr/lib/@browser@ -debian/librewolf_settings/defaults usr/share/@browser@ +debian/librewolf_settings/defaults usr/lib/@browser@ debian/librewolf_settings/distribution usr/share/@browser@ EOF |