chore: mbcpapp.sh: cleanup startup
mkdir -p always exit successfully even if the dir already exist, and will not overwrite it Signed-off-by: fukiame <fukiame@proton.me>
This commit is contained in:
parent
cb2b492160
commit
d85a209930
1 changed files with 4 additions and 20 deletions
|
|
@ -4,27 +4,11 @@
|
|||
# A tinkerer, not developer xD
|
||||
# You might see this line but ignore it then continues calling me a developer, but after all, i just a loser :D
|
||||
|
||||
|
||||
# Initial startup
|
||||
if [ -d ~/mbbpatch/MBCPApp/mbapk ]
|
||||
then
|
||||
clear
|
||||
else
|
||||
mkdir ~/mbbpatch/MBCPApp/mbapk
|
||||
fi
|
||||
|
||||
if [ -d ~/mbbpatch/MBCPApp/mbcpapp_apk ]
|
||||
then
|
||||
clear
|
||||
else
|
||||
mkdir ~/mbbpatch/MBCPApp/mbcpapp_apk
|
||||
fi
|
||||
if [ -d ~/mbbpatch/MBCPApp/tools ]
|
||||
then
|
||||
clear
|
||||
else
|
||||
mkdir ~/mbbpatch/MBCPApp/tools
|
||||
fi
|
||||
mkdir -p ~/mbbpatch/MBCPApp/mbapk
|
||||
mkdir -p ~/mbbpatch/MBCPApp/mbcpapp_apk
|
||||
mkdir -p ~/mbbpatch/MBCPApp/tools
|
||||
clear
|
||||
|
||||
# Check if user runs on actual Linux environment
|
||||
if [[ $(grep -i Linux /proc/version) ]]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue