unionrepo

This commit is contained in:
shenmo 2023-11-10 15:07:40 +08:00
parent c2effa5c30
commit d7e4071e6f
9 changed files with 1093 additions and 1 deletions

@ -1 +0,0 @@
Subproject commit 56e0a2dbce86fe96111935c35916ed915f5f84e2

View File

@ -0,0 +1,3 @@
#!/bin/bash
### We do not want users to install ACE in ACE. Run inside this container instead
${@}

View File

@ -0,0 +1,6 @@
#!/bin/bash
if [ "$1" = "open" ];then
xdg-open ${@:2}
else
/usr/bin/gio $@
fi

View File

@ -0,0 +1,6 @@
#!/bin/bash
if [ "$UID" = "0" ];then
pkexec $@
else
host-spawn pkexec bookworm-run $@
fi

View File

@ -0,0 +1,6 @@
#!/bin/bash
if [ "$UID" = "0" ];then
/usr/bin/sudo $@
else
host-spawn sudo bookworm-run $@
fi