Skip to content

Commit

Permalink
Add AlmaLinux to software retrieval.
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-unwin committed Jan 24, 2024
1 parent 9f349fb commit 1814b02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion other/audit_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2670,7 +2670,7 @@ case $system_os_family in
dpkg-query --show --showformat="\t\t<item>\n\t\t\t<name><![CDATA[\${Package}]]></name>\n\t\t\t<version><![CDATA[\${Version}]]></version>\n\t\t\t<url></url>\n\t\t</item>\n" |\
sed -e 's/\&.*]]/]]/' >> "$xml_file"
;;
'CentOS' | 'RedHat' | 'SUSE' | 'Fedora' | 'Suse' | 'Amazon' | 'Mariner' )
'CentOS' | 'RedHat' | 'SUSE' | 'Fedora' | 'Suse' | 'Amazon' | 'Mariner' | 'AlmaLinux' )
rpm -qa --queryformat="\t\t<item>\n\t\t\t<name><\!\[CDATA\[%{NAME}\]\]></name>\n\t\t\t<version><\!\[CDATA\[%{VERSION}-%{RELEASE}\]\]></version>\n\t\t\t<url><\!\[CDATA\[%{URL}\]\]></url>\n\t\t</item>\n" |\
sed -e 's/\&.*]]/]]/' >> "$xml_file"
;;
Expand Down

0 comments on commit 1814b02

Please sign in to comment.