summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2020-09-04 18:34:37 -0400
committerAndrew Cady <d@jerkface.net>2020-09-04 18:34:37 -0400
commit9055dfb6bf8cfc44b7c079b66445956668f42263 (patch)
tree2148de34f9cc4320a8dee9198d35957e0dd0193a
parent581306c39db6ed7313967452831642b1fd6cfb2f (diff)
fix dependency install hopefully
-rw-r--r--selfpublish.sh8
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
39dpkg_install() 39dpkg_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
44control_file() 50control_file()