make sure add-apt-repository command is available for ubuntu installations

This commit is contained in:
ronivay
2021-07-19 12:30:43 +03:00
parent bc391a0de3
commit c383d0192a
2 changed files with 2 additions and 0 deletions

View File

@@ -121,6 +121,7 @@ deb:
- nfs-common
- cifs-utils
- gnupg (debian 10)
- software-properties-common (ubuntu)
```
#### Plugins

View File

@@ -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