mirror of
https://gitee.com/amber-ce/amber-ce-bookworm.git
synced 2025-06-10 09:05:59 +08:00
pkexec fix
Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
parent
6c853b2bec
commit
0f293864b6
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
if [ "$UID" = "0" ];then
|
||||
pkexec $@
|
||||
$@
|
||||
else
|
||||
host-spawn pkexec bookworm-run $@
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user