mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-11-05 16: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
|
#!/bin/bash
|
||||||
xhost +
|
|
||||||
if [ "$(id -u)" != "0" ] ; then
|
if [ "$(id -u)" != "0" ] ; then
|
||||||
if [ "$IS_ACE_ENV" = "1" ];then
|
if [ "$IS_ACE_ENV" = "1" ];then
|
||||||
/opt/durapps/spark-store/bin/store-helper/pass-auth.sh "$0" "$@"
|
/opt/durapps/spark-store/bin/store-helper/pass-auth.sh "$0" "$@"
|
||||||
else
|
else
|
||||||
|
xhost +
|
||||||
pkexec "$0" "$@"
|
pkexec "$0" "$@"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user