diff options
-rwxr-xr-x | bin/ncp-update-nc | 1 | ||||
-rw-r--r-- | changelog.md | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/bin/ncp-update-nc b/bin/ncp-update-nc index 273f568a..11632603 100755 --- a/bin/ncp-update-nc +++ b/bin/ncp-update-nc @@ -163,6 +163,7 @@ rollback() { [[ "$DATADIR" == "/var/www/nextcloud/data" ]] && mv -T "$DATADIR" "$TMPDATA" ncp-restore "$BKP" || { echo "Rollback failed! Data left at $TMPDATA"; exit 1; } [[ "$DATADIR" == "/var/www/nextcloud/data" ]] && { rm -rf "$DATADIR"; mv -T "$TMPDATA" "$DATADIR"; } + rm "$BKP" echo "Rollback successful. Nothing was updated" exit 1 } diff --git a/changelog.md b/changelog.md index b1b55f78..d6ac1220 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,7 @@ -[v1.0.0](https://github.com/nextcloud/nextcloudpi/commit/5eb44b1) (2019-01-08) ncp-config: allow empty values +[v1.0.1](https://github.com/nextcloud/nextcloudpi/commit/720b0db) (2019-01-08) nc-update-nc: remove backup after restoring + +[v1.0.0](https://github.com/nextcloud/nextcloudpi/commit/013198c) (2019-01-08) ncp-config: allow empty values [v0.67.13](https://github.com/nextcloud/nextcloudpi/commit/21fee19) (2018-12-31) ncp-web: new chinese translate and update chinese translate. (#721) |