Skip to content

Commit 23eecff

Browse files
committed
unattended-upgrades: fix raspbian origin
Signed-off-by: nachoparker <nacho@ownyourbits.com>
1 parent ec428a2 commit 23eecff

File tree

3 files changed

+28
-3
lines changed

3 files changed

+28
-3
lines changed

bin/ncp/UPDATES/unattended-upgrades.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Unattended-Upgrade::Automatic-Reboot-Time "04:00";
3333
Unattended-Upgrade::Origins-Pattern {
3434
o=Debian,n=$RELEASE;
3535
o=deb.sury.org,n=$RELEASE;
36-
o="Raspberry Pi Foundation",n=$RELEASE;
36+
o="Raspbian",n=$RELEASE;
3737
}
3838
Dpkg::Options {
3939
"--force-confdef";

changelog.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11

2-
[v1.34.0](https://github.com/nextcloud/nextcloudpi/commit/68181eb) (2021-01-01) upgrade to NC20.0.4
2+
[v1.34.1](https://github.com/nextcloud/nextcloudpi/commit/37c2e4f) (2021-01-01) unattended-upgrades: fix raspbian origin
33

4-
[v1.33.2](https://github.com/nextcloud/nextcloudpi/commit/08e5a36) (2021-01-01) ncp-config: fix empty values
4+
[v1.34.0](https://github.com/nextcloud/nextcloudpi/commit/ec428a2) (2021-01-01) upgrade to NC20.0.4
5+
6+
[v1.33.2 ](https://github.com/nextcloud/nextcloudpi/commit/82d00c8) (2021-01-01) ncp-config: fix empty values
57

68
[v1.33.1 ](https://github.com/nextcloud/nextcloudpi/commit/42fd597) (2020-12-12) nc-update-nc: improve error messages
79

updates/1.35.0.sh

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
## BACKWARD FIXES ( for older images )
6+
7+
source /usr/local/etc/library.sh # sets NCVER PHPVER RELEASE
8+
9+
# all images
10+
11+
is_active_app unattended-upgrades && run_app unattended-upgrades
12+
13+
# docker images only
14+
[[ -f /.docker-image ]] && {
15+
:
16+
}
17+
18+
# for non docker images
19+
[[ ! -f /.docker-image ]] && {
20+
:
21+
}
22+
23+
exit 0

0 commit comments

Comments
 (0)