Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2017-11-16 21:27:00 +0300
committernachoparker <nacho@ownyourbits.com>2017-11-16 21:34:02 +0300
commit95240caadb25442a56f1134cf01ed7aefac475b2 (patch)
tree5fb0b5ee4d8a969d1603e49b8b015af3c2878ef2
parent7e126fdda9bcdc5778c231e144006fbb16b2f1b4 (diff)
update: check return codev0.34.14
-rwxr-xr-xbin/ncp-update13
-rw-r--r--build-devel.sh13
-rw-r--r--changelog.md10
3 files changed, 21 insertions, 15 deletions
diff --git a/bin/ncp-update b/bin/ncp-update
index 615595f0..54f6a23e 100755
--- a/bin/ncp-update
+++ b/bin/ncp-update
@@ -11,17 +11,18 @@
cd /tmp/ncp-update-tmp
echo -e "Performing updates"
- ./update.sh
+ ./update.sh && {
- VER=$( git describe --always --tags | grep -oP "v\d+\.\d+\.\d+" )
- grep -qP "v\d+\.\d+\.\d+" <<< "$VER" && { # check format
- echo "$VER" > /usr/local/etc/ncp-version
- echo "$VER" > /var/run/.ncp-latest-version
+ VER=$( git describe --always --tags | grep -oP "v\d+\.\d+\.\d+" )
+ grep -qP "v\d+\.\d+\.\d+" <<< "$VER" && { # check format
+ echo "$VER" > /usr/local/etc/ncp-version
+ echo "$VER" > /var/run/.ncp-latest-version
+ }
+ echo -e "NextCloudPi updated to version $VER"
}
cd /
rm -rf /tmp/ncp-update-tmp
- echo -e "NextCloudPi updated to version $VER"
exit
} # force to read the whole thing into memory, as its contents might change in update.sh
diff --git a/build-devel.sh b/build-devel.sh
index d8c0dd1d..489f6bd0 100644
--- a/build-devel.sh
+++ b/build-devel.sh
@@ -31,18 +31,19 @@ install()
cd /tmp/ncp-update-tmp || return 1
echo -e "Performing updates"
- ./update.sh
+ ./update.sh && {
- VER=$( git describe --always --tags | grep -oP "v\d+\.\d+\.\d+" )
- grep -qP "v\d+\.\d+\.\d+" <<< $VER && { # check format
- echo "$VER" > /usr/local/etc/ncp-version
- echo "$VER" > /var/run/.ncp-latest-version
+ VER=$( git describe --always --tags | grep -oP "v\d+\.\d+\.\d+" )
+ grep -qP "v\d+\.\d+\.\d+" <<< $VER && { # check format
+ echo "$VER" > /usr/local/etc/ncp-version
+ echo "$VER" > /var/run/.ncp-latest-version
+ }
+ echo -e "NextCloudPi updated to version $VER"
}
cd / || return 1
rm -rf /tmp/ncp-update-tmp
- echo -e "NextCloudPi updated to version $VER"
}
cleanup() { :; }
diff --git a/changelog.md b/changelog.md
index c27055e3..1fba55a7 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,9 @@
-[v0.34.12](https://github.com/nextcloud/nextcloudpi/commit/58173ad) (2017-11-16) fail2ban: fix accidentally deleted line
+[v0.34.14](https://github.com/nextcloud/nextcloudpi/commit/723d51b) (2017-11-16) update: check return code
+
+[v0.34.13](https://github.com/nextcloud/nextcloudpi/commit/29109ba) (2017-11-16) improve IP detection
+
+[v0.34.12](https://github.com/nextcloud/nextcloudpi/commit/c4a0bba) (2017-11-16) fail2ban: fix accidentally deleted line
[v0.34.11](https://github.com/nextcloud/nextcloudpi/commit/634bc33) (2017-11-15) ncp-web: only show wizard button if it exists, delete from docker
@@ -11,9 +15,9 @@
[v0.34.7 ](https://github.com/nextcloud/nextcloudpi/commit/638ff3c) (2017-11-12) redis: fix update bug
-[v0.34.6, devel](https://github.com/nextcloud/nextcloudpi/commit/c2f23ef) (2017-11-11) redis: fix socket permissions
+[v0.34.6 ](https://github.com/nextcloud/nextcloudpi/commit/c2f23ef) (2017-11-11) redis: fix socket permissions
-[v0.34.5](https://github.com/nextcloud/nextcloudpi/commit/9e48e92) (2017-11-10) update: wait running apt processes (fix)
+[v0.34.5 ](https://github.com/nextcloud/nextcloudpi/commit/9e48e92) (2017-11-10) update: wait running apt processes (fix)
[v0.34.4 ](https://github.com/nextcloud/nextcloudpi/commit/b6538b9) (2017-11-09) redis: fixes with ramlogs and modsecurity