mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-13 11:34:31 +02:00
global-functions: $ScriptInstallUpdate: forcibly convert to LF...
... to make sure we do not have unintended CRLF line breaks.
This commit is contained in:
parent
0101b56bff
commit
2d42fed621
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
# Michael Gisbers <michael@gisbers.de>
|
||||
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
|
||||
#
|
||||
# requires RouterOS, version=7.13
|
||||
# requires RouterOS, version=7.14
|
||||
#
|
||||
# global functions
|
||||
# https://git.eworm.de/cgit/routeros-scripts/about/
|
||||
|
@ -1060,7 +1060,7 @@
|
|||
:local Result [ /tool/fetch check-certificate=yes-without-crl \
|
||||
http-header-field=({ [ $FetchUserAgentStr $0 ] }) $Url output=user as-value ];
|
||||
:if ($Result->"status" = "finished") do={
|
||||
:set SourceNew ($Result->"data");
|
||||
:set SourceNew [ :tolf ($Result->"data") ];
|
||||
}
|
||||
} on-error={
|
||||
:if ($ScriptVal->"source" = "#!rsc by RouterOS\n") do={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue