listupgrade: better detection for PostgreSQL
This commit is contained in:
parent
982112bd64
commit
3c2369a3a2
|
@ -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
|
* evolinux-user: Add sudoers privilege for chck php\_fpm81
|
||||||
* evomaintenance: allow missing API endpoint if APi is disabled
|
* evomaintenance: allow missing API endpoint if APi is disabled
|
||||||
* java: use default JRE package when version is not specified
|
* java: use default JRE package when version is not specified
|
||||||
|
* listupgrade: better detection for PostgreSQL
|
||||||
* lxc-solr: detect the real partition options
|
* lxc-solr: detect the real partition options
|
||||||
* lxc-solr: download URL according to Solr Version
|
* lxc-solr: download URL according to Solr Version
|
||||||
* lxc-solr: set homedir and port at install
|
* lxc-solr: set homedir and port at install
|
||||||
|
|
|
@ -240,7 +240,7 @@ main() {
|
||||||
echo "MySQL" >>"${servicesToRestart}"
|
echo "MySQL" >>"${servicesToRestart}"
|
||||||
elif echo "${pkg}" | grep -q "^mariadb-server"; then
|
elif echo "${pkg}" | grep -q "^mariadb-server"; then
|
||||||
echo "MariaDB" >>"${servicesToRestart}"
|
echo "MariaDB" >>"${servicesToRestart}"
|
||||||
elif echo "${pkg}" | grep -qE "^postgresql-[[:digit:]]+\.[[:digit:]]+$"; then
|
elif echo "${pkg}" | grep -qE "^postgresql-[[:digit:]]+(\.[[:digit:]]+)?$"; then
|
||||||
echo "PostgreSQL" >>"${servicesToRestart}"
|
echo "PostgreSQL" >>"${servicesToRestart}"
|
||||||
elif echo "${pkg}" | grep -qE "^tomcat[[:digit:]]+$"; then
|
elif echo "${pkg}" | grep -qE "^tomcat[[:digit:]]+$"; then
|
||||||
echo "Tomcat" >>"${servicesToRestart}"
|
echo "Tomcat" >>"${servicesToRestart}"
|
||||||
|
|
Loading…
Reference in a new issue