mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-23 16:31:48 -04:00
be even more precise
This commit is contained in:
@@ -113,7 +113,11 @@ func (s *StepDownload) Run(_ context.Context, state multistep.StateBag) multiste
|
||||
if finalPath == "" {
|
||||
for i, url := range s.Url {
|
||||
if strings.HasPrefix(url, "file://") {
|
||||
ui.Message(fmt.Sprintf("Copying or inplace referencing: %s", url))
|
||||
if s.Inplace {
|
||||
ui.Message(fmt.Sprintf("Inplace referencing: %s", url))
|
||||
} else {
|
||||
ui.Message(fmt.Sprintf("Copying: %s", url))
|
||||
}
|
||||
} else {
|
||||
ui.Message(fmt.Sprintf("Downloading: %s", url))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user