File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ packages-archive-unwanted-{{ file_or_directory }}:
2626
2727 # wanted 'archive' software
2828 {%- for package, archive in wanted_archives.items() % }
29- {%- set archivename = archive.dl.source.split(' /' )[- 1 ] % }
29+ {%- set archivename = archive.dl.source.split(' /' )[- 1 ] if ' destname ' not in archive else archive.destname % }
3030
3131packages- archive- wanted- target- {{ package }}- directory:
3232 file .directory:
Original file line number Diff line number Diff line change @@ -141,6 +141,7 @@ packages:
141141 # yamllint enable rule:line-length
142142 kubectl :
143143 dest : /usr/local/bin
144+ destname : kubectl # optional destination filename
144145 dl :
145146 format : bin
146147 # yamllint disable-line rule:line-length
You can’t perform that action at this time.
0 commit comments