1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wireguard_ynh.git synced 2024-09-03 20:35:58 +02:00

Install DKMS and kernel headers if needed

This commit is contained in:
tituspijean 2024-03-02 17:04:27 +01:00
parent 318b19933c
commit 3c9872bebd
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -61,3 +61,8 @@ ram.runtime = "50M"
[resources.apt]
packages = "wireguard"
packages_from_raw_bash = """
if dpkg --compare-versions $(uname -r) lt 5.6; then
echo wireguard-dkms linux-headers-$(uname -r)
fi
"""