update tool/update-upgrade/ss-do-upgrade.sh.

Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
shenmo 2024-11-14 11:47:32 +00:00 committed by Gitee
parent 85a7790932
commit b778e351b3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -1,4 +1,5 @@
#!/bin/bash
xhost +
if [ "$(id -u)" != "0" ] ; then
if [ "$IS_ACE_ENV" = "1" ];then
/opt/durapps/spark-store/bin/store-helper/pass-auth.sh "$0" "$@"
@ -8,7 +9,7 @@ if [ "$(id -u)" != "0" ] ; then
fi
fi
xhost +
trap "rm -f /tmp/spark-store/upgradeStatus.txt" EXIT
source /opt/durapps/spark-store/bin/bashimport/transhell.amber
load_transhell_debug