summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2021-01-03 20:44:05 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2021-01-03 20:44:05 (EST)
commitceca66e390d6ff479721485e3160e913e97761c1 (patch)
tree738adaa5d47f4faa58edb4749a600cc04b41e443 /src
parent8c3af60790f0669453c0418638d301e336af9ac5 (diff)
install: Hack around broken gcc-8-dev dependencies
Diffstat (limited to 'src')
-rw-r--r--src/install.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/install.sh b/src/install.sh
index ab2977b..e3e9819 100644
--- a/src/install.sh
+++ b/src/install.sh
@@ -220,6 +220,13 @@ install_get_pkgs()
info "$(get_msg 'install_downloading_pkg')" "${pkg}"
url="$(printf '%s\n' "${_install_urls}" | \
sed -n "s/^${pkg} //p")"
+ # FIXME: Remove the next four lines after ProteanOS's gcc-8-dev
+ # is fixed to not try to install non-existent liblsan.0 and
+ # libtsan.0 packages on i686-linux-glibc.
+ if [ x"${url}" = x'' ]; then
+ error "$(get_msg 'install_downloading_pkg_fail')"
+ continue
+ fi
md5sum="$(printf '%s\n' "${_install_md5sums}" | \
sed -n "s/^${pkg} //p")"
sha256sum="$(printf '%s\n' "${_install_sha256sums}" | \