From c383d0192a5e2b59b3458d2aecefa5156962bd1e Mon Sep 17 00:00:00 2001 From: ronivay Date: Mon, 19 Jul 2021 12:30:43 +0300 Subject: [PATCH] make sure add-apt-repository command is available for ubuntu installations --- README.md | 1 + xo-install.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 14f5b1d..069e7be 100644 --- a/README.md +++ b/README.md @@ -121,6 +121,7 @@ deb: - nfs-common - cifs-utils - gnupg (debian 10) +- software-properties-common (ubuntu) ``` #### Plugins diff --git a/xo-install.sh b/xo-install.sh index ef805a8..01ad854 100755 --- a/xo-install.sh +++ b/xo-install.sh @@ -213,6 +213,7 @@ function InstallDependenciesDeb { if [[ "$OSNAME" == "Ubuntu" ]]; then echo printprog "OS Ubuntu so making sure universe repository is enabled" + runcmd "apt-get install -y software-properties-common" runcmd "add-apt-repository -y universe" printok "OS Ubuntu so making sure universe repository is enabled" fi