diff --git a/src/webui/app/helpers/package_helper.rb b/src/webui/app/helpers/package_helper.rb index de596ff5372..6fd0cd54949 100644 --- a/src/webui/app/helpers/package_helper.rb +++ b/src/webui/app/helpers/package_helper.rb @@ -27,7 +27,7 @@ def human_readable_fsize( bytes ) end def guess_code_class( filename ) - return "xml" if ["_link", "_patchinfo", "_service"].include?(filename) + return 'xml' if ['_aggregate', '_link', '_patchinfo', '_service'].include?(filename) return "bash" if filename.match(/^rc[\w-]+$/) # rc-scripts are shell return "python" if filename.match(/^.*rpmlintrc$/) return "makefile" if filename == "debian.rules"