diff options
-rw-r--r-- | updater.lua | 6 |
1 files 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 |