Skip to content

Commit 1d3fe11

Browse files
committed
Fix armbian builds
1 parent fbaf431 commit 1d3fe11

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

install.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,8 @@ rm /usr/local/etc/ncp-config.d/nc-nextcloud.cfg # armbian overlay is ro
8080
systemctl restart mysqld # TODO this shouldn't be necessary, but somehow it's needed in Debian 9.6. Fixme
8181
install_app ncp.sh
8282
run_app_unsafe bin/ncp/CONFIG/nc-init.sh
83-
# notify_push was skipped during nc-init because /.ncp-image was set
84-
# start it now explicitly
85-
[[ -f /.docker-image ]] || start_notify_push
83+
# Start notify_push explicitly if not inside an image build
84+
[[ "${CODE_DIR}" != "" ]] || start_notify_push
8685

8786
echo 'Moving data directory to a more sensible location'
8887
df -h

0 commit comments

Comments
 (0)