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>2021-01-02 00:32:08 +0300
committernachoparker <nacho@ownyourbits.com>2021-01-02 00:34:55 +0300
commit23eecffd1d438f7fa1ff064b3645fc342a4df5dc (patch)
treeb961590216cf74c033d3a0a2212404f0db8962e2
parentec428a288f1f3ed7addd76e3b9ffb4fe9cfef6fe (diff)
unattended-upgrades: fix raspbian originv1.34.1
Signed-off-by: nachoparker <nacho@ownyourbits.com>
-rw-r--r--bin/ncp/UPDATES/unattended-upgrades.sh2
-rw-r--r--changelog.md6
-rw-r--r--updates/1.35.0.sh23
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