From c9ff5500adbf60fce8c02ed551570fd1bb763092 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 29 Nov 2021 09:48:00 +0100 Subject: updater.lua: fix wireguard tools package change --- updater.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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") -- cgit v1.2.3