listupgrade: better detection for PostgreSQL

This commit is contained in:
Jérémy Lecour 2022-12-07 21:04:33 +01:00 committed by Jérémy Lecour
parent 982112bd64
commit 3c2369a3a2
2 changed files with 2 additions and 1 deletions

View File

@ -32,6 +32,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
* evolinux-user: Add sudoers privilege for chck php\_fpm81
* evomaintenance: allow missing API endpoint if APi is disabled
* java: use default JRE package when version is not specified
* listupgrade: better detection for PostgreSQL
* lxc-solr: detect the real partition options
* lxc-solr: download URL according to Solr Version
* lxc-solr: set homedir and port at install

View File

@ -240,7 +240,7 @@ main() {
echo "MySQL" >>"${servicesToRestart}"
elif echo "${pkg}" | grep -q "^mariadb-server"; then
echo "MariaDB" >>"${servicesToRestart}"
elif echo "${pkg}" | grep -qE "^postgresql-[[:digit:]]+\.[[:digit:]]+$"; then
elif echo "${pkg}" | grep -qE "^postgresql-[[:digit:]]+(\.[[:digit:]]+)?$"; then
echo "PostgreSQL" >>"${servicesToRestart}"
elif echo "${pkg}" | grep -qE "^tomcat[[:digit:]]+$"; then
echo "Tomcat" >>"${servicesToRestart}"