mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
package: Implement low-level methods for uninstalling
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
145b3ecc65
commit
1908bd5366
4 files changed
+57
-33
No files matched your search
@@ -16,7 +16,7 @@ from plinth.modules.backups.components import BackupRestore
|
||||
from plinth.modules.config import get_domainname
|
||||
from plinth.modules.firewall.components import Firewall
|
||||
from plinth.modules.letsencrypt.components import LetsEncrypt
|
||||
from plinth.package import Packages, remove
|
||||
from plinth.package import Packages, uninstall
|
||||
from plinth.signals import domain_added, domain_removed
|
||||
from plinth.utils import format_lazy
|
||||
|
||||
@@ -173,7 +173,7 @@ class EmailApp(plinth.app.App):
|
||||
if packages_to_remove:
|
||||
logger.info('Removing conflicting packages: %s',
|
||||
packages_to_remove)
|
||||
remove(packages_to_remove)
|
||||
uninstall(packages_to_remove)
|
||||
|
||||
# Install
|
||||
_clear_conflicts()
|
||||
|
||||
Reference in new issue
Block a user