Skip to content

Commit

Permalink
make_deb: Add new empty line in the end of conffiles file
Browse files Browse the repository at this point in the history
When generating the conffiles file, the trailing newline is forgotten.

Update #6028

Closes #6030.

PiperOrigin-RevId: 211069332
  • Loading branch information
XindaH authored and Copybara-Service committed Aug 31, 2018
1 parent 5044017 commit 438b277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/build_defs/pkg/make_deb.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def CreateDeb(output,
if postrm:
extrafiles['postrm'] = (postrm, 0o755)
if conffiles:
extrafiles['conffiles'] = ('\n'.join(conffiles), 0o644)
extrafiles['conffiles'] = ('\n'.join(conffiles) + '\n', 0o644)
control = CreateDebControl(extrafiles=extrafiles, **kwargs)

# Write the final AR archive (the deb package)
Expand Down

0 comments on commit 438b277

Please sign in to comment.