diff options
author | Christian Hesse <mail@eworm.de> | 2022-04-07 09:23:16 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2022-04-07 09:23:42 +0200 |
commit | 57fab952908c9ad52e73a0103d0d5e422f8cdeda (patch) | |
tree | 21c8913e6a1135a9710cdd695d457734a3f571bb /capsman-download-packages | |
parent | 9dbc56457b1fb25099f7d487b8284a03b47ffbe4 (diff) |
capsman-download-packages: break long lines
Diffstat (limited to 'capsman-download-packages')
-rw-r--r-- | capsman-download-packages | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/capsman-download-packages b/capsman-download-packages index da43454..10585ec 100644 --- a/capsman-download-packages +++ b/capsman-download-packages @@ -44,7 +44,8 @@ $WaitFullyConnected; :if ($File->"package-architecture" = "mips") do={ :set ($File->"package-architecture") "mipsbe"; } - :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; } @@ -62,7 +63,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) \ |