diff options
author | Andrew Cady <d@jerkface.net> | 2020-09-04 18:34:37 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2020-09-04 18:34:37 -0400 |
commit | 9055dfb6bf8cfc44b7c079b66445956668f42263 (patch) | |
tree | 2148de34f9cc4320a8dee9198d35957e0dd0193a | |
parent | 581306c39db6ed7313967452831642b1fd6cfb2f (diff) |
fix dependency install hopefully
-rw-r--r-- | selfpublish.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/selfpublish.sh b/selfpublish.sh index 1c26021..6bd4a88 100644 --- a/selfpublish.sh +++ b/selfpublish.sh | |||
@@ -38,7 +38,13 @@ apt_install() | |||
38 | 38 | ||
39 | dpkg_install() | 39 | dpkg_install() |
40 | { | 40 | { |
41 | as_root dpkg -i "$@" | 41 | case "$(lsb_release -cs)" in |
42 | buster) | ||
43 | echo 'deb http://httpredir.debian.org/debian buster-backports main' | | ||
44 | as_root tee -a /etc/apt/sources.list.d/buster-backports >/dev/null ;; | ||
45 | esac | ||
46 | |||
47 | as_root sh -c "apt-get update; dpkg -i $*; apt-get -t buster-backports -f install selfpublish-dot-sh-deps+ apache2+" | ||
42 | } | 48 | } |
43 | 49 | ||
44 | control_file() | 50 | control_file() |