diff options
author | nachoparker <nacho@ownyourbits.com> | 2022-03-03 19:42:19 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2022-03-03 19:45:14 +0300 |
commit | c9610e4d5c90888334047f82ab8086a0c9e77cc3 (patch) | |
tree | a6f2d4956b044273aefa0c0f349f5f4ce84e5c7d | |
parent | 062c803d20105f2bd0687f4d1b1d8637d3e29e85 (diff) |
ncp-dist-upgrade: fix VM grub-pc issuev1.46.6
Signed-off-by: nachoparker <nacho@ownyourbits.com>
-rwxr-xr-x | bin/ncp-dist-upgrade | 5 | ||||
-rw-r--r-- | changelog.md | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/bin/ncp-dist-upgrade b/bin/ncp-dist-upgrade index ca7afd74..d6c399ab 100755 --- a/bin/ncp-dist-upgrade +++ b/bin/ncp-dist-upgrade @@ -31,6 +31,11 @@ trap "echo 'Something went wrong. Fix it and try again'" EXIT save_maintenance_mode +# Fix grub-pc issue in VM +if apt show grub-pc-bin &>/dev/null; then + $APTINSTALL grub +fi + apt-get update apt-get upgrade -y diff --git a/changelog.md b/changelog.md index d894edac..09015f11 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,7 @@ -[v1.46.5](https://github.com/nextcloud/nextcloudpi/commit/7d4ba40) (2022-03-02) ncp-dist-upgrade: add DHCP fix for raspios +[v1.46.6](https://github.com/nextcloud/nextcloudpi/commit/71c6f5d) (2022-03-03) ncp-dist-upgrade: fix VM grub-pc issue + +[v1.46.5](https://github.com/nextcloud/nextcloudpi/commit/adab07c) (2022-03-02) ncp-dist-upgrade: add DHCP fix for raspios [v1.46.4 ](https://github.com/nextcloud/nextcloudpi/commit/06ba8a0) (2022-03-02) nc-scan: check for maintenance mode enabled |