mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-03-25 23:09:44 +08:00
update tool/update-upgrade/ss-do-upgrade.sh.
Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user