fix: Update require password

This commit is contained in:
2024-10-29 17:09:05 +08:00
parent ed3db29806
commit b060000028
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" "$@"