From b877e06a02e96d3cdcb9728f9e587d4132a76b79 Mon Sep 17 00:00:00 2001 From: Sean Date: Tue, 31 Mar 2015 12:17:32 -0700 Subject: [PATCH] Update import.go Add support for Automatic Debug Packages (.ddeb's) --- deb/import.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deb/import.go b/deb/import.go index 4ca11347..7ab0ddc1 100644 --- a/deb/import.go +++ b/deb/import.go @@ -28,7 +28,7 @@ func CollectPackageFiles(locations []string, reporter aptly.ResultReporter) (pac } if strings.HasSuffix(info.Name(), ".deb") || strings.HasSuffix(info.Name(), ".udeb") || - strings.HasSuffix(info.Name(), ".dsc") { + strings.HasSuffix(info.Name(), ".dsc") || strings.HasSuffix(info.Name(), ".ddeb") { packageFiles = append(packageFiles, path) } @@ -36,7 +36,7 @@ func CollectPackageFiles(locations []string, reporter aptly.ResultReporter) (pac }) } else { if strings.HasSuffix(info.Name(), ".deb") || strings.HasSuffix(info.Name(), ".udeb") || - strings.HasSuffix(info.Name(), ".dsc") { + strings.HasSuffix(info.Name(), ".dsc") || strings.HasSuffix(info.Name(), ".ddeb") { packageFiles = append(packageFiles, location) } else { reporter.Warning("Unknown file extension: %s", location)