1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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

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.service
/%{_unitdir}/docker.socket /%{_unitdir}/docker.socket
%else %else
/etc/sysconfig/docker %config(noreplace,missingok) /etc/sysconfig/docker
/%{_initddir}/docker /%{_initddir}/docker
%endif %endif
/usr/share/bash-completion/completions/docker /usr/share/bash-completion/completions/docker