]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rpm: Fix undefined FIRST_ARG 14346/head
authorBoris Ranto <branto@redhat.com>
Fri, 7 Jul 2017 10:37:55 +0000 (12:37 +0200)
committerBoris Ranto <branto@redhat.com>
Fri, 7 Jul 2017 14:27:24 +0000 (16:27 +0200)
commit644bb1e81ca29e244cf2962bc1c06bdecaac427a
tree214b40ae951c17e7368529eaa8630cc2d71085f5
parente9608e0c4097caa3c2e344fc3456ac3d6c816d5e
rpm: Fix undefined FIRST_ARG

If FIRST_ARG is undefined, the rpms will show an error on upgrade
because the condition in the postun script gets broken.

This was a regression introduced by commit for issue 20077 that moved
ceph-disk unit files to ceph-base.

Fixes: http://tracker.ceph.com/issues/20077
Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit 562816914ccca8e4e7d9c31f333db2f0da6f7c99)
ceph.spec.in