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
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;;
|
||||
|
|
|
|||
Loading…
Reference in New Issue