Also using reconfigure in postinst
This commit is contained in:
parent
8612ad0071
commit
9ff178bd75
2
debian/glance-api.postinst.in
vendored
2
debian/glance-api.postinst.in
vendored
@ -4,7 +4,7 @@ set -e
|
||||
|
||||
#PKGOS-INCLUDE#
|
||||
|
||||
if [ "$1" = "configure" ] ; then
|
||||
if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then
|
||||
. /usr/share/debconf/confmodule
|
||||
pkgos_register_endpoint_postinst glance glance image "Glance Image Service" 9292 ""
|
||||
db_stop
|
||||
|
2
debian/glance-common.postinst.in
vendored
2
debian/glance-common.postinst.in
vendored
@ -22,7 +22,7 @@ write_auth_token_and_auth () {
|
||||
esac
|
||||
}
|
||||
|
||||
if [ "$1" = "configure" ] ; then
|
||||
if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then
|
||||
. /usr/share/debconf/confmodule
|
||||
. /usr/share/dbconfig-common/dpkg/postinst
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user