aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-04-07 09:23:16 +0200
committerGravatar Christian Hesse <mail@eworm.de>2022-04-07 09:28:34 +0200
commite7481f3ca8db9a879a445db4b7f86f8e8f5b97e7 (patch)
tree23b48867ca73e92987b7b997f1067ad9d0d37191
parentf5465d3e34a3cf668eff8a061b109743993c1dbf (diff)
capsman-download-packages: break long lines
(cherry picked from commit 57fab952908c9ad52e73a0103d0d5e422f8cdeda)
-rw-r--r--capsman-download-packages6
1 files changed, 4 insertions, 2 deletions
diff --git a/capsman-download-packages b/capsman-download-packages
index fc7ecc7..0eae744 100644
--- a/capsman-download-packages
+++ b/capsman-download-packages
@@ -47,7 +47,8 @@ $WaitFullyConnected;
:if ($File->"package-name" = "wireless@") do={
:set ($File->"package-name") "wireless";
}
- :if ([ $DownloadPackage ($File->"package-name") $InstalledVersion ($File->"package-architecture") $PackagePath ] = true) do={
+ :if ([ $DownloadPackage ($File->"package-name") $InstalledVersion \
+ ($File->"package-architecture") $PackagePath ] = true) do={
:set Updated true;
/ file remove $Package;
}
@@ -65,7 +66,8 @@ $WaitFullyConnected;
}
:foreach Log in=[ / log find where topics=({"caps", "error"}) \
- message~("upgrade status: failed, failed to download file '.*-" . $InstalledVersion . "-.*\\.npk', no such file") ] do={
+ message~("upgrade status: failed, failed to download file '.*-" . $InstalledVersion . \
+ "-.*\\.npk', no such file") ] do={
:local Message [ / log get $Log message ];
:local Package [ :pick $Message \
([ :find $Message "'" ] + 1) \