Add our PPA to Ubuntu installs

This commit is contained in:
Zachary Klosko 2020-11-23 15:38:06 -05:00
parent bfc9a697ce
commit ad28c7de99
1 changed files with 5 additions and 1 deletions

View File

@ -711,10 +711,14 @@ if [ "$ignore_dependencies" = "f" ]; then
loud "\n-----------------------------------------------------"
loud " * Installing External Dependencies * "
loud "-----------------------------------------------------"
if [ $is_ubuntu_dist ]; then
loudCmd "add-apt-repository -y ppa:libretime/libretime"
fi
if [ -x /usr/bin/apt-get ]; then
verbose "\n * Reading requirements-${dist}-${code}.apt..."
loudCmd "apt-get update"
loudCmd "apt-get -q update"
package_list_file="${SCRIPT_DIR}/installer/lib/requirements-${dist}-${code}.apt"
if [ ! -f "$package_list_file" ]; then
echo "ERROR: package file does not exist: $package_list_file" >&2