BUG #16574: Error in configuration of pgadmin4-server (amd64 4.24) on Debian version 10.5 - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #16574: Error in configuration of pgadmin4-server (amd64 4.24) on Debian version 10.5
Date
Msg-id 16574-08dbc6d16ab14f94@postgresql.org
Whole thread Raw
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      16574
Logged by:          Jacques Ferré
Email address:      ferre-jacques@wanadoo.fr
PostgreSQL version: 11.7
Operating system:   Linux serveur 4.19.0-9-amd64 #1 SMP Debian 4.19.11
Description:

Error on line 20 of script setup-web.sh, the test "elif [[ ${UNAME} =~
"Ubuntu" ]] || [[ ${UNAME} =~ "debian" ]]; then" is KO.
In this release, this commande return "Debian" and not "debian", so the
variables APACHE and IS_DEBIAN are undefined.
And the APACHE_STATUS make an error whith grep (this is the only visible
error in the console).

I change the test on this line 20 with " =~ "ebian" and the process is OK.


pgsql-bugs by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: BUG #16572: pgadmin change column order
Next
From: Jan Kort
Date:
Subject: Index not used without explicit typecast