fix(9656): Use absolute paths for a2enmod, a2enconf for debain setup script (#9815)

Reason: On debian, it does not have `/usr/sbin` in the path environment variable anymore.

Co-authored-by: rztrainlocal <ke@KE-U758.HOME>
pull/9810/head^2
rztrainlocal 2026-04-06 18:18:19 +02:00 committed by GitHub
parent d8a078af53
commit d59fcf3459
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -112,8 +112,8 @@ if [ ${IS_DEBIAN} == 1 ]; then
case ${RESPONSE} in
y|Y )
a2enmod wsgi 1> /dev/null
a2enconf pgadmin4 1> /dev/null
/usr/sbin/a2enmod wsgi 1> /dev/null
/usr/sbin/a2enconf pgadmin4 1> /dev/null
;;
* )
exit 1;;