Skip to content

Commit

Permalink
Don't remove mariadb on preparation stage, to make sure we could star…
Browse files Browse the repository at this point in the history
…t plesk if leapp failed
  • Loading branch information
Mikhail Sandakov committed Feb 19, 2024
1 parent 2e78eaa commit adccab6
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions actions/mariadb.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,7 @@ def _is_required(self) -> bool:
return mariadb.is_mariadb_installed() and not mariadb.get_installed_mariadb_version() > MARIADB_VERSION_ON_ALMA

def _prepare_action(self) -> None:
rpm.remove_packages(rpm.filter_installed_packages(["MariaDB-client",
"MariaDB-client-compat",
"MariaDB-compat",
"MariaDB-common",
"MariaDB-server",
"MariaDB-server-compat",
"MariaDB-shared"]))
pass

def _post_action(self) -> None:
# Leapp is not remove non-standard MariaDB-client package. But since we have updated
Expand Down

0 comments on commit adccab6

Please sign in to comment.