summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()