mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
build: make sure we dont include wizard.cfg
Signed-off-by: nachoparker <nacho@ownyourbits.com>
This commit is contained in:
parent
14b78e372b
commit
c506b22f9e
3
batch.sh
3
batch.sh
@ -25,6 +25,9 @@ source buildlib.sh # initializes $IMGNAME
|
||||
|
||||
sleep 5
|
||||
|
||||
# make sure we don't accidentally include this
|
||||
rm -f ncp-web/wizard.cfg
|
||||
|
||||
# Raspbian
|
||||
./build-SD-rpi.sh
|
||||
IMG="$( ls -1t tmp/*.img | head -1 )"
|
||||
|
||||
@ -30,6 +30,9 @@ function build_arch()
|
||||
docker tag ownyourbits/nextcloudpi-${ncp_tag}:latest ownyourbits/nextcloudpi-${ncp_tag}:"${version}"
|
||||
}
|
||||
|
||||
# make sure we don't accidentally include this
|
||||
rm -f ncp-web/wizard.cfg
|
||||
|
||||
[[ "$@" =~ "x86" ]] && build_arch "${release}" amd64 x86_64 x86
|
||||
[[ "$@" =~ "armhf" ]] && build_arch "${release}" arm32v7 arm armhf
|
||||
[[ "$@" =~ "arm64" ]] && build_arch "${release}" arm64v8 aarch64 arm64
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user