Skip to content

Commit

Permalink
[Enhancement] debian/conffiles will give prompt when file existing, n…
Browse files Browse the repository at this point in the history
…eed a way to supress prompt (#323)
  • Loading branch information
dzhangalibaba authored and qiluo-msft committed Dec 13, 2019
1 parent 838d9b4 commit 5b55954
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 14 deletions.
7 changes: 5 additions & 2 deletions common/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@ EXTRA_DIST = \
consumer_table_pops.lua \
producer_state_table_apply_view.lua \
table_dump.lua \
fdb_flush.lua \
database_config.json
fdb_flush.lua

EXTRA_CONF_DIST = database_config.json

swssdir = $(datadir)/swss
swsscommondir = /var/run/redis/sonic-db

dist_swss_DATA = $(EXTRA_DIST)
dist_swsscommon_DATA = $(EXTRA_CONF_DIST)

bin_PROGRAMS = swssloglevel

Expand Down
1 change: 1 addition & 0 deletions debian/conffiles
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/var/run/redis/sonic-db/database_config.json
2 changes: 1 addition & 1 deletion debian/libswsscommon.install
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
usr/lib/*/lib*.so.*
usr/share/swss/*.lua
usr/share/swss/*.json
var/run/redis/sonic-db/database_config.json
usr/bin/swssloglevel
11 changes: 0 additions & 11 deletions debian/postinst

This file was deleted.

0 comments on commit 5b55954

Please sign in to comment.