PMB_APK_FORCE_MISSING_REPOSITORIES: 1 -> "1"

Fixes: 0d6c03b2 ("PMB_APK_FORCE_MISSING_REPOSITORIES: new env var (MR 2318)")
This commit is contained in:
Oliver Smith 2024-05-29 01:08:31 +02:00
parent 0d6c03b201
commit d1aca8630f
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 2 additions and 2 deletions

View file

@ -186,7 +186,7 @@ def init(args, suffix="native", usr_merge=UsrMerge.AUTO,
command = ["--no-network", "upgrade", "-a"]
# Ignore missing repos before initial build (bpo#137)
if os.getenv("PMB_APK_FORCE_MISSING_REPOSITORIES") == 1:
if os.getenv("PMB_APK_FORCE_MISSING_REPOSITORIES") == "1":
command = ["--force-missing-repositories"] + command
pmb.chroot.root(args, ["apk"] + command, suffix)