diff options
author | Karel Kočí <cynerd@email.cz> | 2021-11-29 09:48:00 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2021-11-29 09:48:00 +0100 |
commit | c9ff5500adbf60fce8c02ed551570fd1bb763092 (patch) | |
tree | 741d50cf8bd89542c08e4d815bfd93f389df009c | |
parent | 044699f9b20c4077dfbce75e7b15459650a28d1f (diff) | |
download | openwrt-personal-pkgs-c9ff5500adbf60fce8c02ed551570fd1bb763092.tar.gz openwrt-personal-pkgs-c9ff5500adbf60fce8c02ed551570fd1bb763092.tar.bz2 openwrt-personal-pkgs-c9ff5500adbf60fce8c02ed551570fd1bb763092.zip |
updater.lua: fix wireguard tools package change
-rw-r--r-- | updater.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/updater.lua b/updater.lua index 3baa229..6c13314 100644 --- a/updater.lua +++ b/updater.lua @@ -77,7 +77,11 @@ if tools then end if vpn then Install("luci-app-openvpn", "openvpn-openssl") - Install("luci-app-wireguard", "wireguard") + if version_match(os_release.VERSION, ">= 6.0.0") then + Install("luci-app-wireguard", "wireguard-tools") + else + Install("luci-app-wireguard", "wireguard") + end end if bigclown then Install("bigclown-gateway", "bigclown-mqtt2influxdb", "bigclown-control-tool") |