live, repo: not enable online repo on e2k

This commit is contained in:
Anton Midyukov 2022-02-02 21:24:04 +07:00
parent 25cb4c7317
commit 71cc96685b
2 changed files with 6 additions and 0 deletions

View File

@ -3,6 +3,9 @@
[ -n "$GLOBAL_LIVE_REPO" ] || exit 0
# no public repos for e2k for now, unfortunately
[ `arch` != "e2k" ] || exit 0
PROTO="${GLOBAL_LIVE_REPO%/*}" # http, ftp, rsync
case "$PROTO" in
http|ftp|rsync)

View File

@ -3,6 +3,9 @@
[ -z "$GLOBAL_REPO_MAIN" ] || exit 0
# no public repos for e2k for now, unfortunately
[ `arch` != "e2k" ] || exit 0
[ -n "$GLOBAL_REPO" ] || exit 0
PROTO="${GLOBAL_REPO%/*}" # http, ftp, rsync