Skip to content

Commit 2c063d5

Browse files
Changed: Rename TERMUX_APP_AM_SOCKET_SERVER_ENABLED to TERMUX_APP__AM_SOCKET_SERVER_ENABLED as per termux/termux-app@afc06cfd
1 parent 1d44d08 commit 2c063d5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

termux-am.sh.in

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ main() {
2222
return 0
2323
fi
2424

25-
# TERMUX_APP_AM_SOCKET_SERVER_ENABLED=false is exported by termux-app
25+
# TERMUX_APP__AM_SOCKET_SERVER_ENABLED=false is exported by termux-app
2626
# if server is disabled, so don't try to connect to server if its
2727
# disabled and save a few milliseconds and also warn user.
28-
if [[ "$TERMUX_APP_AM_SOCKET_SERVER_ENABLED" == "false" ]]; then
28+
if [[ "$TERMUX_APP__AM_SOCKET_SERVER_ENABLED" == "false" ]]; then
2929
echo "TermuxAm server is not enabled. Make sure \"run-termux-am-socket-server=false\" is not added to the \"~/.termux/termux.properties\" file" 1>&2
3030
return 1;
3131
fi
@@ -138,11 +138,11 @@ The server is enabled by default and can be disabled by adding
138138
file. Changes require termux-app to be force stopped and restarted.
139139
140140
The current state of the server can be checked with the
141-
TERMUX_APP_AM_SOCKET_SERVER_ENABLED env variable.
141+
TERMUX_APP__AM_SOCKET_SERVER_ENABLED env variable.
142142
143143
HELP_EOF
144144

145-
echo "TERMUX_APP_AM_SOCKET_SERVER_ENABLED=$TERMUX_APP_AM_SOCKET_SERVER_ENABLED"
145+
echo "TERMUX_APP__AM_SOCKET_SERVER_ENABLED=$TERMUX_APP__AM_SOCKET_SERVER_ENABLED"
146146

147147
}
148148

0 commit comments

Comments
 (0)