chore: mbcpapp.sh: move clear down below after all checks

Signed-off-by: fukiame <fukiame@proton.me>
This commit is contained in:
Hikarie Fukirei 2025-07-23 11:00:09 +07:00
commit 714d8b6904

View file

@ -34,14 +34,14 @@ COMMIT="$(git rev-parse --short HEAD)"
# Check if java exists on /usr/bin/java
echo 'Checking if Java exists...'
if java -version ; then
clear
else
if ! java -version ; then
echo "ERROR : Java not found !!!"
echo "INFO : Please install Java for your Linux distribution ! "
exit 127
fi
clear
# Banner
$FIGLET "MBCPApp Patcher"
echo -------------------------------------------------------------