Check added for zip command

Shows a message when the zip utility is not found.

Issue-ID: NONRTRIC-964
Change-Id: I7eaac63c12dd70dd5b90b8733e90417ca687b41e
Signed-off-by: aravind.est <aravindhan.a@est.tech>
diff --git a/sample-rapp-generator/generate.sh b/sample-rapp-generator/generate.sh
index a4eeba4..d606186 100755
--- a/sample-rapp-generator/generate.sh
+++ b/sample-rapp-generator/generate.sh
@@ -23,6 +23,11 @@
   exit 1
 fi
 
+if ! command -v zip &> /dev/null; then
+  echo "Zip command not found. Please install zip to proceed."
+  exit 1
+fi
+
 DIRECTORY=${1%/}
 PACKAGENAME="$DIRECTORY.csar"