From 7c9fbaaed3e46f914fa3d119389095416e6dc6fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 29 Nov 2021 14:02:27 +0100 Subject: updater.lua: instead of version use animal --- updater.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/updater.lua b/updater.lua index 6c13314..d4461fa 100644 --- a/updater.lua +++ b/updater.lua @@ -77,10 +77,10 @@ if tools then end if vpn then Install("luci-app-openvpn", "openvpn-openssl") - if version_match(os_release.VERSION, ">= 6.0.0") then - Install("luci-app-wireguard", "wireguard-tools") - else + if animal == "hbk" or animal == "hbt" or animal == "hbs" then Install("luci-app-wireguard", "wireguard") + else + Install("luci-app-wireguard", "wireguard-tools") end end if bigclown then -- cgit v1.2.3