Fix build scripts and add i18n docs

This commit is contained in:
Veronica Berglyd Olsen
2025-02-04 16:36:12 +01:00
parent 99db1a1c3a
commit e8d548b24e
4 changed files with 10 additions and 11 deletions
+2 -2
View File
@@ -157,7 +157,7 @@ def makeDebianPackage(
def debian(args: argparse.Namespace) -> None:
"""Build a .deb package"""
if sys.platform == "linux":
if sys.platform != "linux":
print("ERROR: Command 'build-deb' can only be used on Linux")
sys.exit(1)
signKey = SIGN_KEY if args.sign else None
@@ -167,7 +167,7 @@ def debian(args: argparse.Namespace) -> None:
def launchpad(args: argparse.Namespace) -> None:
"""Wrapper for building Debian packages for Launchpad."""
if sys.platform == "linux":
if sys.platform != "linux":
print("ERROR: Command 'build-ubuntu' can only be used on Linux")
sys.exit(1)