Skip to content
Snippets Groups Projects
Commit 2ae7f53b authored by Todd Gamblin's avatar Todd Gamblin
Browse files

Bugfix: Extension hooks shoudl only run for extensions.

parent 89ccdf92
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,8 @@ ...@@ -27,7 +27,8 @@
def post_install(pkg): def post_install(pkg):
pkg.do_activate() if pkg.is_extension:
pkg.do_activate()
def pre_uninstall(pkg): def pre_uninstall(pkg):
...@@ -35,4 +36,5 @@ def pre_uninstall(pkg): ...@@ -35,4 +36,5 @@ def pre_uninstall(pkg):
# TODO: store full graph info in stored .spec file. # TODO: store full graph info in stored .spec file.
pkg.spec.normalize() pkg.spec.normalize()
pkg.do_deactivate() if pkg.is_extension:
pkg.do_deactivate()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment