Also using reconfigure in postinst

This commit is contained in:
Thomas Goirand 2013-10-01 02:39:15 +08:00
parent 8612ad0071
commit 9ff178bd75
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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