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:
parent
318b19933c
commit
3c9872bebd
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue