From 4d9591aac95f633658c107aeb6ec1a98cca2476c Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 23 Aug 2021 19:13:50 -0400 Subject: alsvid3: Install GNU IceCat --- diff --git a/hosts/alsvid3/postinst b/hosts/alsvid3/postinst index 892bf70..6765395 100644 --- a/hosts/alsvid3/postinst +++ b/hosts/alsvid3/postinst @@ -158,6 +158,18 @@ in_target sh <<-EOF EOF [ ${?} -ne 0 ] && return 1 +# Install GNU IceCat. +deb_uri='http://download.opensuse.org' +deb_uri="${deb_uri}/repositories/home:/losuler:/icecat/Debian_10/" +key_uri='https://download.opensuse.org' +key_uri="${key_uri}/repositories/home:losuler:icecat/Debian_10/Release.key" +cat >"${target}/etc/apt/sources.list.d/icecat.list" <<-EOF + deb ${deb_uri} / + EOF +wget -O - "${key_uri}" | gpg --dearmor >/etc/apt/trusted.gpg.d/icecat.gpg +in_target apt-get update +in_target apt-get -q -y install icecat + # Install ssic. in_target wget 'http://www.pehjota.net/~pj/ssic/ssic_1.0.0-1_all.deb' printf '%s %s\n' \ -- cgit v0.9.1