[Update] Update update.sh ...
This commit is contained in:
parent
9b6d915160
commit
a8a1e779d9
@ -14,10 +14,12 @@ fi
|
|||||||
|
|
||||||
if [[ "$(uname -r)" =~ ^4\.4\. ]]; then
|
if [[ "$(uname -r)" =~ ^4\.4\. ]]; then
|
||||||
if grep -q Ubuntu <<< $(uname -a); then
|
if grep -q Ubuntu <<< $(uname -a); then
|
||||||
echo "DO NOT RUN mailcow ON THIS UBUNTU KERNEL!";
|
echo "DO NOT RUN mailcow ON THIS UBUNTU KERNEL!"
|
||||||
echo "Please update to linux-generic-hwe-16.04 by running \"apt-get install --install-recommends linux-generic-hwe-16.04\""
|
echo "Please update to linux-generic-hwe-16.04 by running \"apt-get install --install-recommends linux-generic-hwe-16.04\""
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
exit 1
|
echo "mailcow on a 4.4.x kernel is not supported. It may or may not work, please upgrade your kernel or continue at your own risk."
|
||||||
|
read -p "Press any key to continue..." < /dev/tty
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Exit on error and pipefail
|
# Exit on error and pipefail
|
||||||
|
Loading…
Reference in New Issue
Block a user