From 1d637f2160fe4ae1f17b35fc4263df61b50b4d33 Mon Sep 17 00:00:00 2001 From: davidcaldas <39414148+davidcaldas@users.noreply.github.com> Date: Mon, 27 Feb 2023 11:20:59 +0000 Subject: [PATCH 1/2] Update nginx version --- omnia-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omnia-install.sh b/omnia-install.sh index 08489cb..af401b7 100644 --- a/omnia-install.sh +++ b/omnia-install.sh @@ -62,7 +62,7 @@ unzip-from-link() { install_nginx() { eval $invocation - apt-get install nginx=1.14.0-0ubuntu1.7 --assume-yes + apt-get install nginx=1.22.0-1ubuntu1.1 --assume-yes return $? } From 464efaf608e914e7a3c3ccc17bef11b53d88064c Mon Sep 17 00:00:00 2001 From: davidcaldas <39414148+davidcaldas@users.noreply.github.com> Date: Mon, 13 Mar 2023 09:08:31 +0000 Subject: [PATCH 2/2] Update PostgreSQL version and remove apt-transport-https version --- omnia-install.sh | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/omnia-install.sh b/omnia-install.sh index af401b7..10749bf 100644 --- a/omnia-install.sh +++ b/omnia-install.sh @@ -71,7 +71,7 @@ install_netcore() { curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin -c Current wget -q https://packages.microsoft.com/config/ubuntu/$ubuntu_version/packages-microsoft-prod.deb dpkg -i packages-microsoft-prod.deb - apt-get install apt-transport-https=1.6.12 --assume-yes + apt-get install apt-transport-https --assume-yes add-apt-repository universe apt-get update apt-get install dotnet-sdk-3.1 --assume-yes @@ -81,8 +81,8 @@ install_netcore() { install_psql() { eval $invocation - apt-get install postgresql=10+190ubuntu0.1 --assume-yes - apt-get install postgresql-contrib=10+190ubuntu0.1 --assume-yes + apt-get install postgresql=12+214ubuntu0.1 --assume-yes + apt-get install postgresql-contrib=12+214ubuntu0.1 --assume-yes sudo -u postgres createuser --superuser omnia -P return $? @@ -123,13 +123,9 @@ get_legacy_os_name_from_platform() { eval $invocation platform="$1" - case "$platform" in - "ubuntu.16.04") - echo "ubuntu.16.04" - return 0 - ;; - "ubuntu.18.04") - echo "ubuntu.18.04" + case "$platform" in + "ubuntu.20.04") + echo "ubuntu.20.04" return 0 ;; esac