From 9055dfb6bf8cfc44b7c079b66445956668f42263 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Fri, 4 Sep 2020 18:34:37 -0400 Subject: fix dependency install hopefully --- selfpublish.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/selfpublish.sh b/selfpublish.sh index 1c26021..6bd4a88 100644 --- a/selfpublish.sh +++ b/selfpublish.sh @@ -38,7 +38,13 @@ apt_install() dpkg_install() { - as_root dpkg -i "$@" + case "$(lsb_release -cs)" in + buster) + echo 'deb http://httpredir.debian.org/debian buster-backports main' | + as_root tee -a /etc/apt/sources.list.d/buster-backports >/dev/null ;; + esac + + as_root sh -c "apt-get update; dpkg -i $*; apt-get -t buster-backports -f install selfpublish-dot-sh-deps+ apache2+" } control_file() -- cgit v1.2.3