Merge pull request #1118 from zklosko/add-ppa

Add our PPA to Ubuntu installs
This commit is contained in:
Kyle Robbertze 2020-11-24 10:27:56 +02:00 committed by GitHub
commit c4a79d8d3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -712,9 +712,13 @@ if [ "$ignore_dependencies" = "f" ]; then
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