Handle empty case.
This commit is contained in:
parent
f852afd166
commit
f9a0b4d390
|
@ -52,8 +52,8 @@ def controller_api_joined(r_id=None):
|
||||||
|
|
||||||
@hooks.hook()
|
@hooks.hook()
|
||||||
def install():
|
def install():
|
||||||
if config["install-sources"]:
|
if config.get("install-sources"):
|
||||||
configure_sources(update=True, sources_var="install_sources")
|
configure_sources(update=True, sources_var="install-sources")
|
||||||
|
|
||||||
# install packages
|
# install packages
|
||||||
apt_install(PACKAGES, fatal=True)
|
apt_install(PACKAGES, fatal=True)
|
||||||
|
|
Loading…
Reference in New Issue