Skip to content

Commit

Permalink
Fix sys_typeva litacion use same as wazuh-install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
fcaffieri committed Jan 4, 2025
1 parent c8f62af commit cca2148
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/offline-installation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,10 @@ jobs:
-l all \
"$VERBOSITY")
if echo "$SYSTEM_TYPE" | grep -q "rpm"; then
SYSTEM_TYPE="rpm"
elif echo "$SYSTEM_TYPE" | grep -q "deb"; then
if echo "$SYSTEM_TYPE" | grep -q "deb"; then
SYSTEM_TYPE="deb"
elif echo "$SYSTEM_TYPE" | grep -q "rpm"; then
SYSTEM_TYPE="rpm"
else
echo "ERROR: Unsupported system type. Could not determine if system is RPM or DEB based."
exit 1
Expand Down

0 comments on commit cca2148

Please sign in to comment.