mirror of
https://github.com/inspec/inspec
synced 2024-11-27 07:00:39 +00:00
fixup! fixing the debian package manager - when the package is removed but not purged
This commit is contained in:
parent
024027a3a1
commit
a355af670f
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ module Inspec::Resources
|
||||||
# If the package is purged cmd fails with non-zero exit status
|
# If the package is purged cmd fails with non-zero exit status
|
||||||
{
|
{
|
||||||
name: params['Package'],
|
name: params['Package'],
|
||||||
installed: params['Status'].split(' ').first == 'install' ? true : false,
|
installed: params['Status'].split(' ').first == 'install',
|
||||||
version: params['Version'],
|
version: params['Version'],
|
||||||
type: 'deb',
|
type: 'deb',
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue