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

Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
2024-11-14 12:06:32 +00:00
committed by Gitee
parent 6272bd6178
commit af24df4525

View File

@@ -3,11 +3,13 @@ if [ "$(id -u)" != "0" ] ; then
if [ "$IS_ACE_ENV" = "1" ];then
/opt/durapps/spark-store/bin/store-helper/pass-auth.sh "$0" "$@"
else
xhost +
pkexec "$0" "$@"
exit
fi
fi
xhost +
trap "rm -f /tmp/spark-store/upgradeStatus.txt" EXIT
source /opt/durapps/spark-store/bin/bashimport/transhell.amber
load_transhell_debug