From e1f5f7254a530439529cdcac43153b2c33c2660e Mon Sep 17 00:00:00 2001 From: Michael Gisbers Date: Thu, 27 Dec 2018 12:55:21 +0100 Subject: capsman-download-packages: rewrite package-name from wireless@ to wireless Signed-off-by: Michael Gisbers Signed-off-by: Christian Hesse --- capsman-download-packages | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'capsman-download-packages') diff --git a/capsman-download-packages b/capsman-download-packages index aa14049..5a6bd29 100644 --- a/capsman-download-packages +++ b/capsman-download-packages @@ -1,6 +1,7 @@ #!rsc # RouterOS script: capsman-download-packages # Copyright (c) 2018 Christian Hesse +# Michael Gisbers # # requires: dont-require-permissions=yes # @@ -19,6 +20,9 @@ :if ($"package-architecture" = "mips") do={ :set "package-architecture" "mipsbe"; } + :if ($"package-name" = "wireless@") do={ + :set "package-name" "wireless"; + } :local "package-file" ($"package-name" . "-" . $"installed-version" . "-" . $"package-architecture" . ".npk"); $CertificateAvailable "Let's Encrypt Authority X3" "letsencrypt"; / tool fetch mode=https check-certificate=yes-without-crl \ -- cgit v1.2.3-70-g09d2