Skip to content

Commit d59fcf3

Browse files
rztrainlocalrztrainlocal
andauthored
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>
1 parent d8a078a commit d59fcf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)