mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-16 18:38:25 -07:00
Merge pull request #3004 from 4censord/buildscript-allow-docker-on-non-debian
build.sh: Allow docker build on non debian systems
This commit is contained in:
commit
16346f3f05
2
build.sh
2
build.sh
@ -39,7 +39,7 @@ do_build_native() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
do_build_docker() {
|
do_build_docker() {
|
||||||
if ! dpkg --print-architecture | grep -q 'amd64'; then
|
if ! [ $(uname -m) = "x86_64" ]; then
|
||||||
echo "Docker-based builds only support amd64-based cross-building; use a 'native' build instead."
|
echo "Docker-based builds only support amd64-based cross-building; use a 'native' build instead."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user