Skip to content

Commit c9610e4

Browse files
committed
ncp-dist-upgrade: fix VM grub-pc issue
Signed-off-by: nachoparker <nacho@ownyourbits.com>
1 parent 062c803 commit c9610e4

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

bin/ncp-dist-upgrade

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ trap "echo 'Something went wrong. Fix it and try again'" EXIT
3131

3232
save_maintenance_mode
3333

34+
# Fix grub-pc issue in VM
35+
if apt show grub-pc-bin &>/dev/null; then
36+
$APTINSTALL grub
37+
fi
38+
3439
apt-get update
3540
apt-get upgrade -y
3641

changelog.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11

2-
[v1.46.5](https://github.com/nextcloud/nextcloudpi/commit/7d4ba40) (2022-03-02) ncp-dist-upgrade: add DHCP fix for raspios
2+
[v1.46.6](https://github.com/nextcloud/nextcloudpi/commit/71c6f5d) (2022-03-03) ncp-dist-upgrade: fix VM grub-pc issue
3+
4+
[v1.46.5](https://github.com/nextcloud/nextcloudpi/commit/adab07c) (2022-03-02) ncp-dist-upgrade: add DHCP fix for raspios
35

46
[v1.46.4 ](https://github.com/nextcloud/nextcloudpi/commit/06ba8a0) (2022-03-02) nc-scan: check for maintenance mode enabled
57

0 commit comments

Comments
 (0)