Merge pull request #204 from saveriomiroddi/disable_ppa_on_ubuntu_server

Disable PPA on Ubuntu Server
This commit is contained in:
Saverio Miroddi 2021-06-06 01:40:52 +02:00 committed by GitHub
commit 1293d4df5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -395,6 +395,11 @@ function check_prerequisites {
elif [[ ! ${c_supported_linux_distributions["$v_linux_distribution"]} =~ $distro_version_regex ]]; then
echo "This Linux distribution version ($v_linux_version) is not supported; supported versions: ${c_supported_linux_distributions["$v_linux_distribution"]}"
exit 1
elif [[ ${ZFS_USE_PPA:-} == "1" && $v_linux_distribution == "UbuntuServer" ]]; then
# As of Jun/2021, it breaks the installation.
#
echo "The PPA is not (currently) supported on Ubuntu Server!"
exit 1
fi
set +x