mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-04 08:13:38 +00:00
Tests: - DONE: Check if package manager is busy works - DONE: Power app shows status in app/restart/shutdown pages - DONE: Upgrades app shows in app page and first boot wizard page - DONE: When attempting force upgrade, busy state results in a back-off - DONE: An app's packages can be installed/uninstalled successfully - DONE: apt update is run before install - DONE: If network is not available during package install, error message is shown - DONE: Filtering packages with configuration file prompts works. Tested with firewall 1.0.3 to 1.2.1. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
14 lines
608 B
Python
14 lines
608 B
Python
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
"""Package holding all the privileged actions outside of apps."""
|
|
|
|
from .packages import (filter_conffile_packages, install,
|
|
is_package_manager_busy, remove, update)
|
|
from .service import (disable, enable, is_enabled, is_running, mask, reload,
|
|
restart, start, stop, try_restart, unmask)
|
|
|
|
__all__ = [
|
|
'filter_conffile_packages', 'install', 'is_package_manager_busy', 'remove',
|
|
'update', 'disable', 'enable', 'is_enabled', 'is_running', 'mask',
|
|
'reload', 'restart', 'start', 'stop', 'try_restart', 'unmask'
|
|
]
|