Failed option added to check packages script
This commit is contained in:
parent
d326ada414
commit
d210da426d
@ -27,6 +27,7 @@ checkPackages(){
|
||||
## If it does not exist set EXISTS to 1 (false)
|
||||
if [ "$PACKAGE" != "200" ]; then
|
||||
EXISTS=1
|
||||
#echo $PACKAGES_URL$URI "does not exist"
|
||||
return $EXISTS
|
||||
fi
|
||||
done < packages_uri_new.txt
|
||||
@ -44,4 +45,7 @@ elif checkPackages "pre-release"; then
|
||||
elif checkPackages "staging"; then
|
||||
echo "staging"
|
||||
exit 0
|
||||
else
|
||||
echo "Failed"
|
||||
exit 1
|
||||
fi
|
||||
@ -1,8 +1,7 @@
|
||||
yum/wazuh-manager-VERSION-1.x86_64.rpm
|
||||
yum/wazuh-agent-VERSION-1.x86_64.rpm
|
||||
yum/filebeat-oss-7.10.2-x86_64.rpm
|
||||
yum/wazuh-dashboard-VERSION-1.x86_64.rpm
|
||||
yum/wazuh-indexer-VERSION-1.x86_64.rp
|
||||
apt/pool/main/w/wazuh-agent/wazuh-agent_VERSION-1_ppc64el.deb
|
||||
windows/wazuh-agent-VERSION-1.msi
|
||||
apt/pool/main/w/wazuh-manager/wazuh-manager_VERSION-1_amd64.deb
|
||||
apt/pool/main/w/wazuh-indexer/wazuh-indexer_VERSION-1_amd64.deb
|
||||
apt/pool/main/f/filebeat/filebeat-oss-7.10.2-amd64.deb
|
||||
apt/pool/main/w/wazuh-dashboard/wazuh-dashboard_VERSION-1_amd64.deb
|
||||
apt/pool/main/w/wazuh-agent/wazuh-agent_VERSION-1_ppc64el.deb
|
||||
yum/wazuh-agent-VERSION-1.x86_64.rpm
|
||||
|
||||
Loading…
Reference in New Issue
Block a user