mirror of
https://gitee.com/amber-ce/amber-ce-bookworm.git
synced 2025-08-11 23:22:23 +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
|
#!/bin/bash
|
||||||
if [ "$UID" = "0" ];then
|
if [ "$UID" = "0" ];then
|
||||||
pkexec $@
|
$@
|
||||||
else
|
else
|
||||||
host-spawn pkexec bookworm-run $@
|
host-spawn pkexec bookworm-run $@
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user