Skip to content

Commit

Permalink
Merge pull request #223 from plesk/remove-lepp-packages-on-finish
Browse files Browse the repository at this point in the history
Remove leapp-upgrade-el7toel8 package on finishing stage
  • Loading branch information
SandakovMM authored Mar 28, 2024
2 parents b47cdb1 + cb5770d commit 2bc391e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion actions/installation.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ def _prepare_action(self) -> None:
util.logged_check_call(["/usr/bin/yum-config-manager", "--disable", "elevate"])

def _post_action(self) -> None:
rpm.remove_packages(rpm.filter_installed_packages(self.pkgs_to_install + ["elevate-release"]))
rpm.remove_packages(
rpm.filter_installed_packages(
self.pkgs_to_install + ["elevate-release", "leapp-upgrade-el7toel8"]
)
)

leapp_related_files = [
"/root/tmp_leapp_py3/leapp",
Expand Down

0 comments on commit 2bc391e

Please sign in to comment.