Skip to content

Commit 8eb4616

Browse files
rztrainlocalrztrainlocal
authored andcommitted
issue 9656: for debian platform use absolute paths for a2enmod, a2enconf in pkg/linux/setup-web.sh (installed: usr/pgadmin4/bin/setup-web.sh)
Reason: debian does not have /usr/sbin which contains a2enmod and a2enconf in the path environment variable anymore. This is the case for debian13 (trixie) and before
1 parent d8a078a commit 8eb4616

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/linux/setup-web.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ if [ ${IS_DEBIAN} == 1 ]; then
112112

113113
case ${RESPONSE} in
114114
y|Y )
115-
a2enmod wsgi 1> /dev/null
116-
a2enconf pgadmin4 1> /dev/null
115+
/usr/sbin/a2enmod wsgi 1> /dev/null
116+
/usr/sbin/a2enconf pgadmin4 1> /dev/null
117117
;;
118118
* )
119119
exit 1;;

0 commit comments

Comments
 (0)