add missing package managers to check_install_use_latest

This commit is contained in:
Robert Kaussow 2019-01-25 12:43:54 +01:00
parent e4f305bbff
commit 0c88cfb7c2
1 changed files with 2 additions and 1 deletions

View File

@ -114,7 +114,8 @@ def check_install_use_latest(candidate, settings):
tasks, errors = get_normalized_tasks(candidate, settings)
package_managers = ['yum', 'apt', 'dnf', 'homebrew', 'pacman', 'openbsd_package', 'pkg5',
'portage', 'pkgutil', 'slackpkg', 'swdepot', 'zypper', 'bundler', 'pip',
'pear', 'npm', 'gem', 'easy_install', 'bower', 'package']
'pear', 'npm', 'yarn', 'gem', 'easy_install', 'bower', 'package', 'apk',
'openbsd_pkg', 'pkgng', 'sorcery', 'xbps']
description = "package installs should use state=present with or without a version"
if not errors: