Skip to content

Commit

Permalink
Properly mark configuration files in the Debian package. Fixes #6020.
Browse files Browse the repository at this point in the history
Change-Id: If924c752d0bbaa9a442dd6088c7589461fb18e28
  • Loading branch information
katre committed Aug 29, 2018
1 parent 1655933 commit 2147666
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/packages/debian/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ pkg_deb(
package = "bazel",
version_file = ":version.txt",
visibility = ["//scripts/packages:__pkg__"],
conffiles = [
"etc/bash_completion.d/bazel",
"etc/bazel.bazelrc",
],
)

filegroup(
Expand Down

2 comments on commit 2147666

@ashi009
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a side note, based on dpkg doc, all files in etc/ are naturally conffiles.

@katre
Copy link
Member Author

@katre katre commented on 2147666 Aug 31, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ashi009 I thought so as well, but according to #6020, that wasn't working properly.

Please sign in to comment.