mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
dev_scripts: Handle alt name for Ubuntu Focal
This commit is contained in:
parent
aaecfdb63e
commit
b32f215c7c
1 changed files with 2 additions and 2 deletions
|
@ -380,7 +380,7 @@ class Env:
|
||||||
"""Build a Linux environment and install tools for Dangerzone development."""
|
"""Build a Linux environment and install tools for Dangerzone development."""
|
||||||
if self.distro == "fedora":
|
if self.distro == "fedora":
|
||||||
install_deps = DOCKERFILE_BUILD_DEV_FEDORA_DEPS
|
install_deps = DOCKERFILE_BUILD_DEV_FEDORA_DEPS
|
||||||
elif self.distro == "ubuntu" and self.version == "20.04":
|
elif self.distro == "ubuntu" and self.version in ("20.04", "focal"):
|
||||||
install_deps = (
|
install_deps = (
|
||||||
DOCKERFILE_UBUNTU_2004_DEPS + DOCKERFILE_BUILD_DEV_DEBIAN_DEPS
|
DOCKERFILE_UBUNTU_2004_DEPS + DOCKERFILE_BUILD_DEV_DEBIAN_DEPS
|
||||||
)
|
)
|
||||||
|
@ -418,7 +418,7 @@ class Env:
|
||||||
install_cmd = "dnf install -y"
|
install_cmd = "dnf install -y"
|
||||||
else:
|
else:
|
||||||
install_deps = DOCKERFILE_BUILD_DEBIAN_DEPS
|
install_deps = DOCKERFILE_BUILD_DEBIAN_DEPS
|
||||||
if self.distro == "ubuntu" and self.version == "20.04":
|
if self.distro == "ubuntu" and self.version in ("20.04", "focal"):
|
||||||
install_deps = (
|
install_deps = (
|
||||||
DOCKERFILE_UBUNTU_2004_DEPS + DOCKERFILE_BUILD_DEBIAN_DEPS
|
DOCKERFILE_UBUNTU_2004_DEPS + DOCKERFILE_BUILD_DEBIAN_DEPS
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue