~cisco-openstack/keystone/essex

« back to all changes in this revision

Viewing changes to debian/keystone.prerm

  • Committer: Adam Gandelman
  • Date: 2012-03-21 19:48:58 UTC
  • Revision ID: adamg@canonical.com-20120321194858-dxelwnisnoo3fauc
debian/keystone.prerm: Only attempt to cleanup database if it was
configured during installation. (LP: #948719)

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
. /usr/share/debconf/confmodule
6
6
. /usr/share/dbconfig-common/dpkg/prerm
7
 
dbc_go keystone $@
8
 
 
9
 
#DEBHELPER#
 
 
b'\\ No newline at end of file'
 
7
 
 
8
 
 
9
db_get keystone/configure_db
 
10
if [ "$RET" = "true" ]; then
 
11
        # Only cleanup with dbconfig if it was used during
 
12
        # installation (LP: #948719)
 
13
        dbc_go keystone $@
 
14
fi
 
15
 
 
16
#DEBHELPER#
 
17