Add a deep flag to scan

This commit is contained in:
kota kanbe
2017-07-30 09:41:40 +09:00
parent 4379b8bacf
commit 8b6a283114
5 changed files with 30 additions and 36 deletions

View File

@@ -177,7 +177,7 @@ func (o *debian) scanPackages() error {
}
o.setPackages(installed)
if config.Conf.PackageListOnly {
if !config.Conf.Deep {
return nil
}