fix: mbcpapp.sh: use uname instead of catting /proc/version
"fix" permission denied on Termux Signed-off-by: fukiame <fukiame@proton.me>
This commit is contained in:
parent
d85a209930
commit
023adce1a9
1 changed files with 2 additions and 2 deletions
|
|
@ -11,8 +11,8 @@ mkdir -p ~/mbbpatch/MBCPApp/tools
|
|||
clear
|
||||
|
||||
# Check if user runs on actual Linux environment
|
||||
if [[ $(grep -i Linux /proc/version) ]]; then
|
||||
echo "INFO : You have Linux environment :)"
|
||||
if uname -a | grep -i Linux ; then
|
||||
echo "INFO : You have Linux environment :)"
|
||||
fi
|
||||
|
||||
# Check if user trying to run under HyperV (Windows Subsystem For Linux)
|
||||
|
|
|
|||
Loading…
Reference in a new issue