feat: add support for Ubuntu Focal 20.04 (#1168)

Co-authored-by: Valerio Bozzolan <gnu@linux.it>
This commit is contained in:
Kyle Robbertze 2021-11-04 07:55:50 +00:00 committed by GitHub
parent 3d20af5fae
commit 7182390000
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 73 additions and 41 deletions

View file

@ -27,7 +27,7 @@ def run():
generate_liquidsoap_cfg.run()
""" check liquidsoap version so we can run a scripts matching the liquidsoap minor version """
liquidsoap_version = subprocess.check_output(
"liquidsoap --force-start 'print(liquidsoap.version) shutdown()'",
"liquidsoap 'print(liquidsoap.version) shutdown()'",
shell=True,
universal_newlines=True,
)[0:3]
@ -37,9 +37,8 @@ def run():
exec_args = [
"/usr/bin/liquidsoap",
"libretime-liquidsoap",
script_path,
"--verbose",
"-f",
script_path,
]
if args.debug:
print(f"Liquidsoap {liquidsoap_version} using script: {script_path}")