From 11a86c81d60deafaeec292565656c56b338f616e Mon Sep 17 00:00:00 2001 From: Cuynu Date: Tue, 16 Sep 2025 20:15:33 +0700 Subject: [PATCH] feat: mbcpapp.sh: check for wget Signed-off-by: Cuynu --- MBCPApp/mbcpapp.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/MBCPApp/mbcpapp.sh b/MBCPApp/mbcpapp.sh index 87126b8..db93520 100755 --- a/MBCPApp/mbcpapp.sh +++ b/MBCPApp/mbcpapp.sh @@ -46,6 +46,13 @@ if ! java -version ; then exit 127 fi +# Check if wget exists +if ! wget --version ; then + err "wget not found !!!" + info "Please install wget for your Linux distribution !" + exit 127 +fi + # Check if xmlstarlet exists if ! xmlstarlet --version ; then err "xmlstarlet not found, please install it"