diff options
author | Karel Kočí <cynerd@email.cz> | 2021-11-29 14:02:27 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2021-11-29 14:02:27 +0100 |
commit | 7c9fbaaed3e46f914fa3d119389095416e6dc6fc (patch) | |
tree | 64af70a5723166a8a41d597989a5c6251edbc907 | |
parent | c9ff5500adbf60fce8c02ed551570fd1bb763092 (diff) | |
download | openwrt-personal-pkgs-7c9fbaaed3e46f914fa3d119389095416e6dc6fc.tar.gz openwrt-personal-pkgs-7c9fbaaed3e46f914fa3d119389095416e6dc6fc.tar.bz2 openwrt-personal-pkgs-7c9fbaaed3e46f914fa3d119389095416e6dc6fc.zip |
updater.lua: instead of version use animal
-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 |