mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-09-07 03:42:20 +08:00
update tool/update-upgrade/ss-do-upgrade.sh.
Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
parent
b778e351b3
commit
8dc1854f2e
@ -1,9 +1,9 @@
|
||||
#!/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" "$@"
|
||||
else
|
||||
xhost +
|
||||
pkexec "$0" "$@"
|
||||
exit
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user