diff options
-rw-r--r-- | bin/ncp/UPDATES/unattended-upgrades.sh | 2 | ||||
-rw-r--r-- | changelog.md | 6 | ||||
-rw-r--r-- | updates/1.35.0.sh | 23 |
3 files changed, 28 insertions, 3 deletions
diff --git a/bin/ncp/UPDATES/unattended-upgrades.sh b/bin/ncp/UPDATES/unattended-upgrades.sh index df4ec8bb..aab450a1 100644 --- a/bin/ncp/UPDATES/unattended-upgrades.sh +++ b/bin/ncp/UPDATES/unattended-upgrades.sh @@ -33,7 +33,7 @@ Unattended-Upgrade::Automatic-Reboot-Time "04:00"; Unattended-Upgrade::Origins-Pattern { o=Debian,n=$RELEASE; o=deb.sury.org,n=$RELEASE; -o="Raspberry Pi Foundation",n=$RELEASE; +o="Raspbian",n=$RELEASE; } Dpkg::Options { "--force-confdef"; diff --git a/changelog.md b/changelog.md index 4e344d1a..1041b3ed 100644 --- a/changelog.md +++ b/changelog.md @@ -1,7 +1,9 @@ -[v1.34.0](https://github.com/nextcloud/nextcloudpi/commit/68181eb) (2021-01-01) upgrade to NC20.0.4 +[v1.34.1](https://github.com/nextcloud/nextcloudpi/commit/37c2e4f) (2021-01-01) unattended-upgrades: fix raspbian origin -[v1.33.2](https://github.com/nextcloud/nextcloudpi/commit/08e5a36) (2021-01-01) ncp-config: fix empty values +[v1.34.0](https://github.com/nextcloud/nextcloudpi/commit/ec428a2) (2021-01-01) upgrade to NC20.0.4 + +[v1.33.2 ](https://github.com/nextcloud/nextcloudpi/commit/82d00c8) (2021-01-01) ncp-config: fix empty values [v1.33.1 ](https://github.com/nextcloud/nextcloudpi/commit/42fd597) (2020-12-12) nc-update-nc: improve error messages diff --git a/updates/1.35.0.sh b/updates/1.35.0.sh new file mode 100644 index 00000000..bb24a126 --- /dev/null +++ b/updates/1.35.0.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +set -e + +## BACKWARD FIXES ( for older images ) + +source /usr/local/etc/library.sh # sets NCVER PHPVER RELEASE + +# all images + +is_active_app unattended-upgrades && run_app unattended-upgrades + +# docker images only +[[ -f /.docker-image ]] && { + : +} + +# for non docker images +[[ ! -f /.docker-image ]] && { + : +} + +exit 0 |