diff options
-rw-r--r-- | capsman-download-packages | 4 |
1 files changed, 4 insertions, 0 deletions
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 <mail@eworm.de> +# Michael Gisbers <michael@gisbers.de> # # 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 \ |