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>
This commit is contained in:
rztrainlocal
2026-04-06 21:48:19 +05:30
committed by GitHub
co-authored by rztrainlocal
parent d8a078af53
commit d59fcf3459
+2 -2
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;;