fix: need password to upgrade

This commit is contained in:
2024-10-29 17:12:08 +08:00
parent 11ecf1ca41
commit 6201c79069
2 changed files with 30 additions and 29 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
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" "$@"
else
pkexec "$0" "$@"