recommends cleanup

This commit is contained in:
Harald Hope 2020-12-15 17:07:14 -08:00
parent 359c92f14f
commit 9503a0010e

276
inxi
View file

@ -2777,412 +2777,411 @@ sub item_data {
my ($type) = @_; my ($type) = @_;
my %data = ( my %data = (
# Directory Data # Directory Data
'/sys/class/dmi/id' => ({ '/sys/class/dmi/id' => {
'info' => '-M system, motherboard, bios', 'info' => '-M system, motherboard, bios',
}), },
'/dev' => ({ '/dev' => {
'info' => '-l,-u,-o,-p,-P,-D disk partition data', 'info' => '-l,-u,-o,-p,-P,-D disk partition data',
}), },
'/dev/disk/by-id' => ({ '/dev/disk/by-id' => {
'info' => '-D serial numbers', 'info' => '-D serial numbers',
}), },
'/dev/disk/by-path' => ({ '/dev/disk/by-path' => {
'info' => '-D extra data', 'info' => '-D extra data',
}), },
'/dev/disk/by-label' => ({ '/dev/disk/by-label' => {
'info' => '-l,-o,-p,-P partition labels', 'info' => '-l,-o,-p,-P partition labels',
}), },
'/dev/disk/by-uuid' => ({ '/dev/disk/by-uuid' => {
'info' => '-u,-o,-p,-P partition uuid', 'info' => '-u,-o,-p,-P partition uuid',
}), },
'/proc' => ({ '/proc' => {
'info' => '', 'info' => '',
}), },
'/sys' => ({ '/sys' => {
'info' => '', 'info' => '',
}), },
# File Data # File Data
'/etc/lsb-release' => ({ '/etc/lsb-release' => {
'info' => '-S distro version data (older version)', 'info' => '-S distro version data (older version)',
}), },
'/etc/os-release' => ({ '/etc/os-release' => {
'info' => '-S distro version data (newer version)', 'info' => '-S distro version data (newer version)',
}), },
'/proc/asound/cards' => ({ '/proc/asound/cards' => {
'info' => '-A sound card data', 'info' => '-A sound card data',
}), },
'/proc/asound/version' => ({ '/proc/asound/version' => {
'info' => '-A ALSA data', 'info' => '-A ALSA data',
}), },
'/proc/cpuinfo' => ({ '/proc/cpuinfo' => {
'info' => '-C cpu data', 'info' => '-C cpu data',
}), },
'/proc/mdstat' => ({ '/proc/mdstat' => {
'info' => '-R mdraid data (if you use dm-raid)', 'info' => '-R mdraid data (if you use dm-raid)',
}), },
'/proc/meminfo' => ({ '/proc/meminfo' => {
'info' => '-I,-tm, -m memory data', 'info' => '-I,-tm, -m memory data',
}), },
'/proc/modules' => ({ '/proc/modules' => {
'info' => '-G module data (sometimes)', 'info' => '-G module data (sometimes)',
}), },
'/proc/mounts' => ({ '/proc/mounts' => {
'info' => '-P,-p partition advanced data', 'info' => '-P,-p partition advanced data',
}), },
'/proc/scsi/scsi' => ({ '/proc/scsi/scsi' => {
'info' => '-D Advanced hard disk data (used rarely)', 'info' => '-D Advanced hard disk data (used rarely)',
}), },
'/var/log/Xorg.0.log' => ({ '/var/log/Xorg.0.log' => {
'info' => '-G graphics driver load status', 'info' => '-G graphics driver load status',
}), },
'/var/run/dmesg.boot' => ({ '/var/run/dmesg.boot' => {
'info' => '-D,-d disk data', 'info' => '-D,-d disk data',
}), },
## START PACKAGE MANAGER BLOCK ## ## START PACKAGE MANAGER BLOCK ##
# Note: see inxi-perl branch for details: docs/recommends-package-manager.txt # Note: see inxi-perl branch for details: docs/recommends-package-manager.txt
# System Tools # System Tools
'blockdev' => ({ 'blockdev' => {
'info' => '--admin -p/-P (filesystem blocksize)', 'info' => '--admin -p/-P (filesystem blocksize)',
'info-bsd' => '', 'info-bsd' => '',
'apt' => 'util-linux', 'apt' => 'util-linux',
'pacman' => 'util-linux', 'pacman' => 'util-linux',
'rpm' => 'util-linux', 'rpm' => 'util-linux',
}), },
'curl' => ({ 'curl' => {
'info' => '-i (if no dig); -w,-W; -U', 'info' => '-i (if no dig); -w,-W; -U',
'info-bsd' => '-i (if no dig); -w,-W; -U', 'info-bsd' => '-i (if no dig); -w,-W; -U',
'apt' => 'curl', 'apt' => 'curl',
'pacman' => 'curl', 'pacman' => 'curl',
'rpm' => 'curl', 'rpm' => 'curl',
}), },
'camcontrol' => ({ 'camcontrol' => {
'info' => '', 'info' => '',
'info-bsd' => '-R; -D; -P. Get actual gptid /dev path', 'info-bsd' => '-R; -D; -P. Get actual gptid /dev path',
'apt' => '', 'apt' => '',
'pacman' => '', 'pacman' => '',
'rpm' => '', 'rpm' => '',
}), },
'dig' => ({ 'dig' => {
'info' => '-i wlan IP', 'info' => '-i wlan IP',
'info-bsd' => '-i wlan IP', 'info-bsd' => '-i wlan IP',
'apt' => 'dnsutils', 'apt' => 'dnsutils',
'pacman' => 'dnsutils', 'pacman' => 'dnsutils',
'rpm' => 'bind-utils', 'rpm' => 'bind-utils',
}), },
'dmidecode' => ({ 'dmidecode' => {
'info' => '-M if no sys machine data; -m', 'info' => '-M if no sys machine data; -m',
'info-bsd' => '-M if null sysctl; -m; -B if null sysctl', 'info-bsd' => '-M if null sysctl; -m; -B if null sysctl',
'apt' => 'dmidecode', 'apt' => 'dmidecode',
'pacman' => 'dmidecode', 'pacman' => 'dmidecode',
'rpm' => 'dmidecode', 'rpm' => 'dmidecode',
}), },
'fdisk' => ({ 'fdisk' => {
'info' => '-D partition scheme (fallback)', 'info' => '-D partition scheme (fallback)',
'info-bsd' => '-D partition scheme', 'info-bsd' => '-D partition scheme',
'apt' => 'fdisk', 'apt' => 'fdisk',
'pacman' => 'util-linux', 'pacman' => 'util-linux',
'rpm' => 'util-linux', 'rpm' => 'util-linux',
}), },
'fetch' => ({ 'fetch' => {
'info' => '', 'info' => '',
'info-bsd' => '-i (if no dig); -w,-W; -U', 'info-bsd' => '-i (if no dig); -w,-W; -U',
'apt' => '', 'apt' => '',
'pacman' => '', 'pacman' => '',
'rpm' => '', 'rpm' => '',
}), },
'file' => ({ 'file' => {
'info' => '-o unmounted file system (if no lsblk)', 'info' => '-o unmounted file system (if no lsblk)',
'info-bsd' => '-o unmounted file system', 'info-bsd' => '-o unmounted file system',
'apt' => 'file', 'apt' => 'file',
'pacman' => 'file', 'pacman' => 'file',
'rpm' => 'file', 'rpm' => 'file',
}), },
'ftp' => ({ 'ftp' => {
'info' => '', 'info' => '',
'info-bsd' => '-i (if no dig); -w,-W; -U', 'info-bsd' => '-i (if no dig); -w,-W; -U',
'apt' => '', 'apt' => '',
'pacman' => '', 'pacman' => '',
'rpm' => '', 'rpm' => '',
}), },
'glabel' => ({ 'glabel' => {
'info' => '', 'info' => '',
'info-bsd' => '-R; -D; -P. Get actual gptid /dev path', 'info-bsd' => '-R; -D; -P. Get actual gptid /dev path',
'apt' => '', 'apt' => '',
'pacman' => '', 'pacman' => '',
'rpm' => '', 'rpm' => '',
}), },
'gpart' => ({ 'gpart' => {
'info' => '', 'info' => '',
'info-bsd' => '-p,-P file system, size', 'info-bsd' => '-p,-P file system, size',
'apt' => '', 'apt' => '',
'pacman' => '', 'pacman' => '',
'rpm' => '', 'rpm' => '',
}), },
'hciconfig' => ({ 'hciconfig' => {
'info' => 'Experimental', 'info' => 'Experimental',
'info-bsd' => '', 'info-bsd' => '',
'apt' => 'bluez', 'apt' => 'bluez',
'pacman' => 'bluez-utils', 'pacman' => 'bluez-utils',
'rpm' => 'bluez-utils', 'rpm' => 'bluez-utils',
}), },
'hddtemp' => ({ 'hddtemp' => {
'info' => '-Dx show hdd temp, if no /sys drive temp', 'info' => '-Dx show hdd temp, if no /sys drive temp',
'info-bsd' => '-Dx show hdd temp', 'info-bsd' => '-Dx show hdd temp',
'apt' => 'hddtemp', 'apt' => 'hddtemp',
'pacman' => 'hddtemp', 'pacman' => 'hddtemp',
'rpm' => 'hddtemp', 'rpm' => 'hddtemp',
}), },
'ifconfig' => ({ 'ifconfig' => {
'info' => '-i ip LAN (deprecated)', 'info' => '-i ip LAN (deprecated)',
'info-bsd' => '-i ip LAN', 'info-bsd' => '-i ip LAN',
'apt' => 'net-tools', 'apt' => 'net-tools',
'pacman' => 'net-tools', 'pacman' => 'net-tools',
'rpm' => 'net-tools', 'rpm' => 'net-tools',
}), },
'ip' => ({ 'ip' => {
'info' => '-i ip LAN', 'info' => '-i ip LAN',
'info-bsd' => '', 'info-bsd' => '',
'apt' => 'iproute', 'apt' => 'iproute',
'pacman' => 'iproute2', 'pacman' => 'iproute2',
'rpm' => 'iproute', 'rpm' => 'iproute',
}), },
'ipmi-sensors' => ({ 'ipmi-sensors' => {
'info' => '-s IPMI sensors (servers)', 'info' => '-s IPMI sensors (servers)',
'info-bsd' => '', 'info-bsd' => '',
'apt' => 'freeipmi-tools', 'apt' => 'freeipmi-tools',
'pacman' => 'freeipmi', 'pacman' => 'freeipmi',
'rpm' => 'freeipmi', 'rpm' => 'freeipmi',
}), },
'ipmitool' => ({ 'ipmitool' => {
'info' => '-s IPMI sensors (servers)', 'info' => '-s IPMI sensors (servers)',
'info-bsd' => '-s IPMI sensors (servers)', 'info-bsd' => '-s IPMI sensors (servers)',
'apt' => 'ipmitool', 'apt' => 'ipmitool',
'pacman' => 'ipmitool', 'pacman' => 'ipmitool',
'rpm' => 'ipmitool', 'rpm' => 'ipmitool',
}), },
'lsblk' => ({ 'lsblk' => {
'info' => '-L LUKS/bcache; -o unmounted file system (best option)', 'info' => '-L LUKS/bcache; -o unmounted file system (best option)',
'info-bsd' => '-o unmounted file system', 'info-bsd' => '-o unmounted file system',
'apt' => 'util-linux', 'apt' => 'util-linux',
'pacman' => 'util-linux', 'pacman' => 'util-linux',
'rpm' => 'util-linux-ng', 'rpm' => 'util-linux-ng',
}), },
'lvs' => ({ 'lvs' => {
'info' => '-L LVM data', 'info' => '-L LVM data',
'info-bsd' => '', 'info-bsd' => '',
'apt' => 'lvm2', 'apt' => 'lvm2',
'pacman' => 'lvm2', 'pacman' => 'lvm2',
'rpm' => 'lvm2', 'rpm' => 'lvm2',
}), },
'lsusb' => ({ 'lsusb' => {
'info' => '-A usb audio; -J (optional); -N usb networking', 'info' => '-A usb audio; -J (optional); -N usb networking',
'info-bsd' => '-A; -J; -N. Alternate to usbdevs', 'info-bsd' => '-A; -J; -N. Alternate to usbdevs',
'apt' => 'usbutils', 'apt' => 'usbutils',
'pacman' => 'usbutils', 'pacman' => 'usbutils',
'rpm' => 'usbutils', 'rpm' => 'usbutils',
}), },
'mdadm' => ({ 'mdadm' => {
'info' => '-Ra advanced mdraid data', 'info' => '-Ra advanced mdraid data',
'info-bsd' => '', 'info-bsd' => '',
'apt' => 'mdadm', 'apt' => 'mdadm',
'pacman' => 'mdadm', 'pacman' => 'mdadm',
'rpm' => 'mdadm', 'rpm' => 'mdadm',
}), },
'modinfo' => ({ 'modinfo' => {
'info' => 'Ax; -Nx module version', 'info' => 'Ax; -Nx module version',
'info-bsd' => '', 'info-bsd' => '',
'apt' => 'module-init-tools', 'apt' => 'module-init-tools',
'pacman' => 'module-init-tools', 'pacman' => 'module-init-tools',
'rpm' => 'module-init-tools', 'rpm' => 'module-init-tools',
}), },
'runlevel' => ({ 'runlevel' => {
'info' => '-I fallback to Perl', 'info' => '-I fallback to Perl',
'info-bsd' => '', 'info-bsd' => '',
'apt' => 'systemd or sysvinit', 'apt' => 'systemd or sysvinit',
'pacman' => 'systemd', 'pacman' => 'systemd',
'rpm' => 'systemd or sysvinit', 'rpm' => 'systemd or sysvinit',
}), },
'sensors' => ({ 'sensors' => {
'info' => '-s sensors output', 'info' => '-s sensors output',
'info-bsd' => '', 'info-bsd' => '',
'apt' => 'lm-sensors', 'apt' => 'lm-sensors',
'pacman' => 'lm-sensors', 'pacman' => 'lm-sensors',
'rpm' => 'lm-sensors', 'rpm' => 'lm-sensors',
}), },
'smartctl' => ({ 'smartctl' => {
'info' => '-Da advanced data', 'info' => '-Da advanced data',
'info-bsd' => '-Da advanced data', 'info-bsd' => '-Da advanced data',
'apt' => 'smartmontools', 'apt' => 'smartmontools',
'pacman' => 'smartmontools', 'pacman' => 'smartmontools',
'rpm' => 'smartmontools', 'rpm' => 'smartmontools',
}), },
'strings' => ({ 'strings' => {
'info' => '-I sysvinit version', 'info' => '-I sysvinit version',
'info-bsd' => '', 'info-bsd' => '',
'apt' => 'binutils', 'apt' => 'binutils',
'pacman' => '?', 'pacman' => '?',
'rpm' => '?', 'rpm' => '?',
}), },
'sysctl' => ({ 'sysctl' => {
'info' => '', 'info' => '',
'info-bsd' => '-C; -I; -m; -tm', 'info-bsd' => '-C; -I; -m; -tm',
'apt' => '?', 'apt' => '?',
'pacman' => '?', 'pacman' => '?',
'rpm' => '?', 'rpm' => '?',
}), },
'sudo' => ({ 'sudo' => {
'info' => '-Dx hddtemp-user; -o file-user', 'info' => '-Dx hddtemp-user; -o file-user',
'info-bsd' => '-Dx hddtemp-user; -o file-user', 'info-bsd' => '-Dx hddtemp-user; -o file-user',
'apt' => 'sudo', 'apt' => 'sudo',
'pacman' => 'sudo', 'pacman' => 'sudo',
'rpm' => 'sudo', 'rpm' => 'sudo',
}), },
'tree' => ({ 'tree' => {
'info' => '--debugger 20,21 /sys tree', 'info' => '--debugger 20,21 /sys tree',
'info-bsd' => '--debugger 20,21 /sys tree', 'info-bsd' => '--debugger 20,21 /sys tree',
'apt' => 'tree', 'apt' => 'tree',
'pacman' => 'tree', 'pacman' => 'tree',
'rpm' => 'tree', 'rpm' => 'tree',
}), },
'upower' => ({ 'upower' => {
'info' => '-sx attached device battery info', 'info' => '-sx attached device battery info',
'info-bsd' => '-sx attached device battery info', 'info-bsd' => '-sx attached device battery info',
'apt' => 'upower', 'apt' => 'upower',
'pacman' => 'upower', 'pacman' => 'upower',
'rpm' => 'upower', 'rpm' => 'upower',
}), },
'uptime' => ({ 'uptime' => {
'info' => '-I uptime', 'info' => '-I uptime',
'info-bsd' => '-I uptime', 'info-bsd' => '-I uptime',
'apt' => 'procps', 'apt' => 'procps',
'pacman' => 'procps', 'pacman' => 'procps',
'rpm' => 'procps', 'rpm' => 'procps',
}), },
'usbdevs' => ({ 'usbdevs' => {
'info' => '', 'info' => '',
'info-bsd' => '-A; -J; -N;', 'info-bsd' => '-A; -J; -N;',
'apt' => 'usbutils', 'apt' => 'usbutils',
'pacman' => 'usbutils', 'pacman' => 'usbutils',
'rpm' => 'usbutils', 'rpm' => 'usbutils',
}), },
'wget' => ({ 'wget' => {
'info' => '-i (if no dig); -w,-W; -U', 'info' => '-i (if no dig); -w,-W; -U',
'info-bsd' => '-i (if no dig); -w,-W; -U', 'info-bsd' => '-i (if no dig); -w,-W; -U',
'apt' => 'wget', 'apt' => 'wget',
'pacman' => 'wget', 'pacman' => 'wget',
'rpm' => 'wget', 'rpm' => 'wget',
}), },
# Display Tools # Display Tools
'glxinfo' => ({ 'glxinfo' => {
'info' => '-G glx info', 'info' => '-G glx info',
'info-bsd' => '-G glx info', 'info-bsd' => '-G glx info',
'apt' => 'mesa-utils', 'apt' => 'mesa-utils',
'pacman' => 'mesa-demos', 'pacman' => 'mesa-demos',
'rpm' => 'glx-utils (openSUSE 12.3 and later Mesa-demo-x)', 'rpm' => 'glx-utils (openSUSE 12.3 and later Mesa-demo-x)',
}), },
'wmctrl' => ({ 'wmctrl' => {
'info' => '-S active window manager (fallback)', 'info' => '-S active window manager (fallback)',
'info-bsd' => '-S active window managerr (fallback)', 'info-bsd' => '-S active window managerr (fallback)',
'apt' => 'wmctrl', 'apt' => 'wmctrl',
'pacman' => 'wmctrl', 'pacman' => 'wmctrl',
'rpm' => 'wmctrl', 'rpm' => 'wmctrl',
}), },
'xdpyinfo' => ({ 'xdpyinfo' => {
'info' => '-G multi screen resolution', 'info' => '-G multi screen resolution',
'info-bsd' => '-G multi screen resolution', 'info-bsd' => '-G multi screen resolution',
'apt' => 'X11-utils', 'apt' => 'X11-utils',
'pacman' => 'xorg-xdpyinfo', 'pacman' => 'xorg-xdpyinfo',
'rpm' => 'xorg-x11-utils', 'rpm' => 'xorg-x11-utils',
}), },
'xprop' => ({ 'xprop' => {
'info' => '-S desktop data', 'info' => '-S desktop data',
'info-bsd' => '-S desktop data', 'info-bsd' => '-S desktop data',
'apt' => 'X11-utils', 'apt' => 'X11-utils',
'pacman' => 'xorg-xprop', 'pacman' => 'xorg-xprop',
'rpm' => 'x11-utils', 'rpm' => 'x11-utils',
}), },
'xrandr' => ({ 'xrandr' => {
'info' => '-G single screen resolution', 'info' => '-G single screen resolution',
'info-bsd' => '-G single screen resolution', 'info-bsd' => '-G single screen resolution',
'apt' => 'x11-xserver-utils', 'apt' => 'x11-xserver-utils',
'pacman' => 'xrandr', 'pacman' => 'xrandr',
'rpm' => 'x11-server-utils', 'rpm' => 'x11-server-utils',
}), },
# Perl Modules # Perl Modules
'Cpanel::JSON::XS' => ({ 'Cpanel::JSON::XS' => {
'info' => '--output json - required for export.', 'info' => '--output json - required for export.',
'info-bsd' => '--output json - required for export.', 'info-bsd' => '--output json - required for export.',
'apt' => 'libcpanel-json-xs-perl', 'apt' => 'libcpanel-json-xs-perl',
'pacman' => 'perl-cpanel-json-xs', 'pacman' => 'perl-cpanel-json-xs',
'rpm' => 'perl-Cpanel-JSON-XS', 'rpm' => 'perl-Cpanel-JSON-XS',
}), },
'File::Copy' => ({ 'File::Copy' => {
'info' => '--debug 20-22 - required to run debugger.', 'info' => '--debug 20-22 - required to run debugger.',
'info-bsd' => '--debug 20-22 - required to run debugger.', 'info-bsd' => '--debug 20-22 - required to run debugger.',
'apt' => 'Core Modules', 'apt' => 'Core Modules',
'pacman' => 'Core Modules', 'pacman' => 'Core Modules',
'rpm' => 'perl-File-Copy', 'rpm' => 'perl-File-Copy',
}), },
'File::Find' => ({ 'File::Find' => {
'info' => '--debug 20-22 - required to run debugger.', 'info' => '--debug 20-22 - required to run debugger.',
'info-bsd' => '--debug 20-22 - required to run debugger.', 'info-bsd' => '--debug 20-22 - required to run debugger.',
'apt' => 'Core Modules', 'apt' => 'Core Modules',
'pacman' => 'Core Modules', 'pacman' => 'Core Modules',
'rpm' => 'perl-File-Find', 'rpm' => 'perl-File-Find',
}), },
'File::Spec::Functions' => ({ 'File::Spec::Functions' => {
'info' => '--debug 20-22 - required to run debugger.', 'info' => '--debug 20-22 - required to run debugger.',
'info-bsd' => '--debug 20-22 - required to run debugger.', 'info-bsd' => '--debug 20-22 - required to run debugger.',
'apt' => 'Core Modules', 'apt' => 'Core Modules',
'pacman' => 'Core Modules', 'pacman' => 'Core Modules',
'rpm' => 'Core Modules', 'rpm' => 'Core Modules',
}), },
'HTTP::Tiny' => ({ 'HTTP::Tiny' => {
'info' => '-U; -w,-W; -i (if dig not installed).', 'info' => '-U; -w,-W; -i (if dig not installed).',
'info-bsd' => '-U; -w,-W; -i (if dig not installed)', 'info-bsd' => '-U; -w,-W; -i (if dig not installed)',
'apt' => 'libhttp-tiny-perl', 'apt' => 'libhttp-tiny-perl',
'pacman' => 'Core Modules', 'pacman' => 'Core Modules',
'rpm' => 'Perl-http-tiny', 'rpm' => 'Perl-http-tiny',
}), },
'IO::Socket::SSL' => ({ 'IO::Socket::SSL' => {
'info' => '-U; -w,-W; -i (if dig not installed).', 'info' => '-U; -w,-W; -i (if dig not installed).',
'info-bsd' => '-U; -w,-W; -i (if dig not installed)', 'info-bsd' => '-U; -w,-W; -i (if dig not installed)',
'apt' => 'libio-socket-ssl-perl', 'apt' => 'libio-socket-ssl-perl',
'pacman' => 'perl-io-socket-ssl', 'pacman' => 'perl-io-socket-ssl',
'rpm' => 'perl-IO-Socket-SSL', 'rpm' => 'perl-IO-Socket-SSL',
}), },
'JSON::XS' => ({ 'JSON::XS' => {
'info' => '--output json - required for export (legacy).', 'info' => '--output json - required for export (legacy).',
'info-bsd' => '--output json - required for export (legacy).', 'info-bsd' => '--output json - required for export (legacy).',
'apt' => 'libjson-xs-perl', 'apt' => 'libjson-xs-perl',
'pacman' => 'perl-json-xs', 'pacman' => 'perl-json-xs',
'rpm' => 'perl-JSON-XS', 'rpm' => 'perl-JSON-XS',
}), },
'Net::FTP' => ({ 'Net::FTP' => {
'info' => '--debug 21,22', 'info' => '--debug 21,22',
'info-bsd' => '--debug 21,22', 'info-bsd' => '--debug 21,22',
'apt' => 'Core Modules', 'apt' => 'Core Modules',
'pacman' => 'Core Modules', 'pacman' => 'Core Modules',
'rpm' => 'Core Modules', 'rpm' => 'Core Modules',
}), },
'Time::HiRes' => ({ 'Time::HiRes' => {
'info' => '-C cpu sleep (not required); --debug timers', 'info' => '-C cpu sleep (not required); --debug timers',
'info-bsd' => '-C cpu sleep (not required); --debug timers', 'info-bsd' => '-C cpu sleep (not required); --debug timers',
'apt' => 'Core Modules', 'apt' => 'Core Modules',
'pacman' => 'Core Modules', 'pacman' => 'Core Modules',
'rpm' => 'perl-Time-HiRes', 'rpm' => 'perl-Time-HiRes',
}), },
'XML::Dumper' => ({ 'XML::Dumper' => {
'info' => '--output xml - Crude and raw.', 'info' => '--output xml - Crude and raw.',
'info-bsd' => '--output xml - Crude and raw.', 'info-bsd' => '--output xml - Crude and raw.',
'apt' => 'libxml-dumper-perl', 'apt' => 'libxml-dumper-perl',
'pacman' => 'perl-xml-dumper', 'pacman' => 'perl-xml-dumper',
'rpm' => 'perl-XML-Dumper', 'rpm' => 'perl-XML-Dumper',
}), },
## END PACKAGE MANAGER BLOCK ## ## END PACKAGE MANAGER BLOCK ##
); );
my %values = %{$data{$type}}; return %{$data{$type}};
return %values;
} }
sub get_pm { sub get_pm {
my ($pm) = (''); my ($pm) = ('');
@ -3219,6 +3218,7 @@ sub make_line {
} }
#### ------------------------------------------------------------------- #### -------------------------------------------------------------------
#### TOOLS #### TOOLS
#### ------------------------------------------------------------------- #### -------------------------------------------------------------------