Automatically detect debian version

This commit is contained in:
Andrejs Cunskis 2022-05-17 14:29:04 +03:00
parent 1f350b34f9
commit 1ef6c55491
No known key found for this signature in database
GPG key ID: 87CB75083F227241
4 changed files with 8 additions and 9 deletions

View file

@ -3,7 +3,8 @@ set -xeuo pipefail
IFS=$'\n\t'
POSTGRES_VERSION=${1:-12}
DEBIAN_VERSION=${2:-buster}
DEBIAN_VERSION=$(lsb_release -c -s)
export DEBIAN_FRONTEND=noninteractive
# Uninstall the system client so that we don't have multiple versions