fix post-install.sh 83/24883/4
authorRyota MIBU <r-mibu@cq.jp.nec.com>
Fri, 25 Nov 2016 04:34:45 +0000 (23:34 -0500)
committerTim Rozet <trozet@redhat.com>
Tue, 24 Jan 2017 17:31:33 +0000 (17:31 +0000)
commit0cfe33dc6ab194d762acc2e868b9ca9c67263c42
tree19c01d293c9e97d0d024008a856df5a01603f234
parentb2c83b7b93ac15e41e4788382dcb2c83c0e5ef10
fix post-install.sh

If sahara and swift are not configured, the post install script will
fail during removals of endpoints for sahara and swift.

This patch adds checks whether endpoints to be removed exist or not.

Change-Id: I8e417dbe6e51461d7c4ef1e2368865917b2f8279
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
lib/post-install-functions.sh