Skip to content

Commit

Permalink
XWIKI-22503: xwiki-<database>-common install fail when cancelling dbc…
Browse files Browse the repository at this point in the history
…onfig (#3497)

(cherry picked from commit 0ddf703)
  • Loading branch information
sid3windr authored and tmortagne committed Sep 12, 2024
1 parent e33e020 commit e5fbbeb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if [ -f /usr/share/dbconfig-common/dpkg/postinst.mysql ]; then
dbc_go xwiki $@

# if they don't want our help, quit
if [ "$dbc_install" != "true" ]; then return 0; fi
if [ "$dbc_install" != "true" ]; then exit 0; fi

# find out if we're upgrading/reinstalling
if [ "$dbc_oldversion" ]; then
Expand All @@ -35,7 +35,7 @@ if [ -f /usr/share/dbconfig-common/dpkg/postinst.mysql ]; then
db_get $dbc_package/dbconfig-reinstall && reinstall=$RET
db_reset $dbc_package/dbconfig-reinstall
# if they've said they don't want to reinstall stuff...
if [ "$reinstall" = "false" ]; then return 0; fi
if [ "$reinstall" = "false" ]; then exit 0; fi
fi
fi

Expand Down

0 comments on commit e5fbbeb

Please sign in to comment.