mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-08-17 16:34:44 -05:00
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:
co-authored by
rztrainlocal
parent
d8a078af53
commit
d59fcf3459
@@ -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;;
|
||||
|
||||
Reference in New Issue
Block a user