1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/biboumi_ynh.git synced 2024-09-03 18:15:58 +02:00

Make sure a recent kernel is running before installing.

Biboumi requires to be able to listen on port 113 without being run as root.
This is possible thanks to linux capabilities but it requires a recent
version of systemd and a recent kernel.

Testing with kernel 3.16 failed for me.

https://lab.louiz.org/louiz/biboumi/blob/8.3/doc/biboumi.1.rst#identd-port
This commit is contained in:
pitchum 2018-12-03 22:10:01 +01:00
parent eaa13b42a2
commit 1a7e1befd3

View file

@ -28,6 +28,11 @@ app=$YNH_APP_INSTANCE_NAME
domain=$YNH_APP_ARG_DOMAIN
admin=$YNH_APP_ARG_ADMIN
if dpkg --compare-versions "$(uname -r)" "<=" "4.0"
then
ynh_die "Upgrade your kernel first. Unsupported version: $(uname -r)"
fi
#=================================================
# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS
#=================================================