diff options
author | Daniel Hansson <daniel@techandme.se> | 2017-06-08 22:53:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-08 22:53:51 +0300 |
commit | 766538d01fe322e9aa1a20e2930b752458e209d0 (patch) | |
tree | 5fcb3708f9a2f1322e67b69b88e8a42b9a8fc3af /nextcloud_install_production.sh | |
parent | 2eae4709447160c9867f3ce173e50e60069160d7 (diff) |
reverse order
Diffstat (limited to 'nextcloud_install_production.sh')
-rw-r--r-- | nextcloud_install_production.sh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/nextcloud_install_production.sh b/nextcloud_install_production.sh index 02cd090d..48c3b0d1 100644 --- a/nextcloud_install_production.sh +++ b/nextcloud_install_production.sh @@ -459,14 +459,6 @@ find /root "/home/$UNIXUSER" -type f \( -name '*.sh*' -o -name '*.html*' -o -nam # Install virtual kernels for Hyper-V, and extra for UTF8 kernel module + Collabora and OnlyOffice if [[ "no" == $(ask_yes_or_no "Is this installed on Hyper-V? (4.4 or 4.8 kernel)") ]] then - # Kernel 4.8 - apt install --install-recommends -y \ - linux-virtual-hwe-16.04 \ - linux-tools-virtual-hwe-16.04 \ - linux-cloud-tools-virtual-hwe-16.04 \ - linux-image-virtual-hwe-16.04 \ - linux-image-extra-"$(uname -r)" -else # Kernel 4.4 apt install --install-recommends -y \ linux-virtual-lts-xenial \ @@ -474,6 +466,14 @@ else linux-cloud-tools-virtual-lts-xenial \ linux-image-virtual-lts-xenial \ linux-image-extra-"$(uname -r)" +else + # Kernel 4.8 + apt install --install-recommends -y \ + linux-virtual-hwe-16.04 \ + linux-tools-virtual-hwe-16.04 \ + linux-cloud-tools-virtual-hwe-16.04 \ + linux-image-virtual-hwe-16.04 \ + linux-image-extra-"$(uname -r)" fi # Set secure permissions final (./data/.htaccess has wrong permissions otherwise) |