Accepting request 526390 from home:jordimassaguerpla:branch:V:c:fix_update_message_docker

- fix /var/adm/update-message/docker file name to be
  /var/adm/update-message/docker-%{version}-%{release}

OBS-URL: https://build.opensuse.org/request/show/526390
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=202
This commit is contained in:
Jordi Massaguer 2017-09-18 10:05:54 +00:00 committed by Git OBS Bridge
parent 00112aab82
commit e69ff9a2ac
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Sep 15 15:32:49 UTC 2017 - jmassaguerpla@suse.com
- fix /var/adm/update-message/docker file name to be
/var/adm/update-message/docker-%{version}-%{release}
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 6 11:42:31 UTC 2017 - asarai@suse.com Wed Sep 6 11:42:31 UTC 2017 - asarai@suse.com

View File

@ -365,7 +365,7 @@ getent group docker >/dev/null || groupadd -r docker
%post %post
if [ -e %{docker_migration_testfile} ]; then if [ -e %{docker_migration_testfile} ]; then
cp %{docker_migration_warnfile} /var/adm/update-messages/docker cp %{docker_migration_warnfile} /var/adm/update-messages/docker-%{version}-%{release}
else else
if [ -e %{docker_migration_warnfile} ]; then if [ -e %{docker_migration_warnfile} ]; then
rm %{docker_migration_warnfile} rm %{docker_migration_warnfile}