mirror of
https://gitee.com/amber-ce/amber-ce-bookworm.git
synced 2025-09-26 13:12:23 +08:00
sudo
This commit is contained in:
parent
0d0085187f
commit
47b4a97480
@ -1,5 +1,5 @@
|
||||
Package: cn.flamescion.bookworm-compatibility-mode
|
||||
Version: 12.2
|
||||
Version: 12.2.1
|
||||
Section: misc
|
||||
Priority: optional
|
||||
Depends: bubblewrap
|
||||
|
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
if [ "$UID" = "0" ];then
|
||||
pkexec $@
|
||||
else
|
||||
host-spawn pkexec bookworm-run $@
|
||||
fi
|
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
if [ "$UID" = "0" ];then
|
||||
sudo $@
|
||||
else
|
||||
host-spawn sudo bookworm-run $@
|
||||
fi
|
Loading…
x
Reference in New Issue
Block a user