aboutsummaryrefslogtreecommitdiffstats
path: root/capsman-download-packages.wifi.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-07-16 12:38:18 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-07-16 13:50:22 +0200
commit7cf0c5b2056bb7522f6174bd76d4b0ea19d4c647 (patch)
tree83c51d205f4469af58b7ca0579903388a86e9667 /capsman-download-packages.wifi.rsc
parent68f61ae6221afeb279ea3823e42cb8da4656a2a6 (diff)
capsman-download-packages: support scripts with CRLF line breaks
Diffstat (limited to 'capsman-download-packages.wifi.rsc')
-rw-r--r--capsman-download-packages.wifi.rsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/capsman-download-packages.wifi.rsc b/capsman-download-packages.wifi.rsc
index 64ac7cd..c5a6999 100644
--- a/capsman-download-packages.wifi.rsc
+++ b/capsman-download-packages.wifi.rsc
@@ -75,7 +75,7 @@
}
:if ($Updated = true) do={
- :local Scripts [ /system/script/find where source~"\n# provides: capsman-rolling-upgrade.wifi\n" ];
+ :local Scripts [ /system/script/find where source~"\n# provides: capsman-rolling-upgrade.wifi\r?\n" ];
:if ([ :len $Scripts ] > 0) do={
:foreach Script in=$Scripts do={
/system/script/run $Script;