Preserve /etc/sysconfig/docker across rpm update

Otherwise we have to reconfigure every time docker rpm got update.

Signed-off-by: WANG Chao <wcwxyz@gmail.com>
This commit is contained in:
WANG Chao 2015-09-17 11:34:08 +08:00
parent 1ffff4c8e2
commit b51918fba1
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ install -p -m 644 contrib/syntax/nano/Dockerfile.nanorc $RPM_BUILD_ROOT/usr/shar
/%{_unitdir}/docker.service
/%{_unitdir}/docker.socket
%else
/etc/sysconfig/docker
%config(noreplace,missingok) /etc/sysconfig/docker
/%{_initddir}/docker
%endif
/usr/share/bash-completion/completions/docker