mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
don't upgrade if on 22.04
Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
This commit is contained in:
parent
7e19bdae09
commit
25e3e936e4
@ -331,10 +331,13 @@ export DEBIAN_FRONTEND=noninteractive ; apt-get dist-upgrade -y -o Dpkg::Options
|
||||
# Fix Realtek on PN51
|
||||
if asuspn51
|
||||
then
|
||||
# Upgrade Realtek drivers
|
||||
print_text_in_color "$ICyan" "Upgrading Realtek firmware..."
|
||||
curl_to_dir https://raw.githubusercontent.com/nextcloud/vm/master/network/asusnuc pn51.sh "$SCRIPTS"
|
||||
bash "$SCRIPTS"/pn51.sh
|
||||
if ! version 22.04 "$DISTRO" 22.04.10
|
||||
then
|
||||
# Upgrade Realtek drivers
|
||||
print_text_in_color "$ICyan" "Upgrading Realtek firmware..."
|
||||
curl_to_dir https://raw.githubusercontent.com/nextcloud/vm/master/network/asusnuc pn51.sh "$SCRIPTS"
|
||||
bash "$SCRIPTS"/pn51.sh
|
||||
fi
|
||||
fi
|
||||
|
||||
# Update Netdata
|
||||
|
||||
Loading…
Reference in New Issue
Block a user