mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
build: curl installer fixes
This commit is contained in:
parent
50435d678a
commit
67415a3b63
@ -31,6 +31,7 @@ prepare_dirs # tmp cache output
|
||||
|
||||
echo -e "\e[1m\n[ Build NCP ]\e[0m"
|
||||
vagrant destroy -f
|
||||
vagrant box update
|
||||
vagrant up --provider=libvirt --provision
|
||||
sudo qemu-img rebase -b "" "$VM"
|
||||
|
||||
|
||||
@ -34,7 +34,7 @@ type mysqld &>/dev/null && echo ">>> WARNING: existing mysqld configuration wil
|
||||
# get install code
|
||||
echo "Getting build code..."
|
||||
apt-get update
|
||||
apt-get install --no-install-recommends -y wget ca-certificates sudo
|
||||
apt-get install --no-install-recommends -y wget ca-certificates sudo jq
|
||||
|
||||
pushd "$TMPDIR"
|
||||
wget -O- --content-disposition https://github.com/nextcloud/nextcloudpi/archive/"$BRANCH"/latest.tar.gz \
|
||||
@ -50,10 +50,10 @@ mkdir -p /usr/local/etc/ncp-config.d/
|
||||
cp etc/ncp-config.d/nc-nextcloud.cfg /usr/local/etc/ncp-config.d/
|
||||
|
||||
install_app lamp.sh
|
||||
install_app etc/ncp-config.d/nc-nextcloud.sh
|
||||
run_app_unsafe etc/ncp-config.d/nc-nextcloud.sh
|
||||
install_app bin/ncp/CONFIG/nc-nextcloud.sh
|
||||
run_app_unsafe bin/ncp/CONFIG/nc-nextcloud.sh
|
||||
install_app ncp.sh
|
||||
run_app_unsafe etc/ncp-config.d/nc-init.sh
|
||||
run_app_unsafe bin/ncp/CONFIG/nc-init.sh
|
||||
|
||||
popd
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user