ncp-config: silence connectivity errors

This commit is contained in:
nachoparker 2018-05-27 20:19:16 +02:00
parent 06c07d33ee
commit fae7ba2dca
4 changed files with 6 additions and 4 deletions

View File

@ -6,7 +6,7 @@ TMPDIR="$( mktemp -d /tmp/ncp-check.XXXXXX || ( echo "Failed to create temp dir.
trap "rm -rf \"${TMPDIR}\"; exit 0" 0 1 2 3 15
git clone --depth 20 -q --bare https://github.com/nextcloud/nextcloudpi.git "$TMPDIR" || {
echo "The git clone command failed: No connectivity to https://github.com ?"
echo "The git clone command failed: No connectivity to https://github.com ?" >&2
exit 1
}

View File

@ -25,7 +25,7 @@ function nextcloud-config()
# ask for update if outdated
test -f /usr/local/etc/ncp-changelog && \
local CHANGELOG=$( head -4 /usr/local/etc/ncp-changelog )
ncp-test-updates && \
ncp-test-updates 2>/dev/null && \
whiptail --backtitle "$BACKTITLE $( cat /usr/local/etc/ncp-version )" \
--title "NextCloudPlus update available" \
--clear --yesno "Update to $( cat $VERFILE )?\n\n$CHANGELOG" \

View File

@ -1,7 +1,9 @@
[v0.56.10](https://github.com/nextcloud/nextcloudpi/commit/4348861) (2018-05-25) nc-ramlogs: fix docker installation from latest upstream changes
[v0.56.11](https://github.com/nextcloud/nextcloudpi/commit/4159b4f) (2018-05-27) ncp-config: silence connectivity errors
[v0.56.9](https://github.com/nextcloud/nextcloudpi/commit/dc41bef) (2018-05-24) remove old systemd timer config in running systems
[v0.56.10](https://github.com/nextcloud/nextcloudpi/commit/a629e63) (2018-05-25) nc-ramlogs: fix docker installation from latest upstream changes
[v0.56.9 ](https://github.com/nextcloud/nextcloudpi/commit/dc41bef) (2018-05-24) remove old systemd timer config in running systems
[v0.56.8 ](https://github.com/nextcloud/nextcloudpi/commit/cf42bf8) (2018-05-22) fix php cli tmpdir for running instances