mirror of
https://github.com/LSPosed/MagiskOnWSALocal.git
synced 2025-04-24 01:09:20 +00:00
Add more workaround for Debian
This commit is contained in:
parent
d01fdc3951
commit
cf1b850905
1 changed files with 4 additions and 0 deletions
|
@ -140,6 +140,10 @@ vhdx_to_img() {
|
|||
return 0
|
||||
}
|
||||
|
||||
# workaround for Debian
|
||||
# In Debian /usr/sbin is not in PATH and some utilities are not in /bin
|
||||
[ -f /usr/sbin ] && export PATH="/usr/sbin:$PATH"
|
||||
# In Debian /etc/mtab is not exist
|
||||
[ -f /etc/mtab ] || ln -s /proc/self/mounts /etc/mtab
|
||||
|
||||
ARCH_MAP=(
|
||||
|
|
Loading…
Add table
Reference in a new issue