]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rpm: Fix undefined FIRST_ARG 15509/head
authorBoris Ranto <branto@redhat.com>
Fri, 7 Jul 2017 10:37:55 +0000 (12:37 +0200)
committerBoris Ranto <branto@redhat.com>
Thu, 20 Jul 2017 13:55:07 +0000 (15:55 +0200)
commitd24edde072ec63d35965e30a58aaaf02547f9c57
treeaeb5894c9ba3d63f36a7bda4b8867119741ce2a9
parenteac6a0dd475e22512cc24bb3b8fe018c70cf7bc8
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