fix: English notify

Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
shenmo 2024-09-25 06:44:55 +00:00 committed by Gitee
parent 5b018a4696
commit e67c4b435b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 4 additions and 4 deletions

@ -1,5 +1,5 @@
#!/bin/bash
export LANGUAGE=en_US
case $1 in
ssupdate)

@ -1,5 +1,5 @@
#!/bin/bash
export LANGUAGE=en_US
source /opt/durapps/spark-store/bin/bashimport/transhell.amber
load_transhell_debug
@ -55,12 +55,12 @@ fi
aptss update
updatetext=`aptss ssupdate 2>&1`
updatetext=`LANGUAGE=en_US aptss ssupdate 2>&1`
until [ "`echo $updatetext | grep E: `" = "" ];do
echo "${TRANSHELL_CONTENT_UPDATE_ERROR_AND_WAIT_15_SEC}"
sleep 15
updatetext=`aptss ssupdate 2>&1`
updatetext=`LANGUAGE=en_US aptss ssupdate 2>&1`