diff options
author | Christian Hesse <mail@eworm.de> | 2018-12-27 21:36:31 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2018-12-27 21:36:31 +0100 |
commit | 0ecb0749fd8bae1a6734da2d1daec2357d47fd27 (patch) | |
tree | e8aee9f8f39f43b8a5d599dee6767cea5a4fba19 | |
parent | e1f5f7254a530439529cdcac43153b2c33c2660e (diff) |
capsman-download-packages: do not restart service...
... but disconnect old CAPs and force reconnect with update.
-rw-r--r-- | capsman-download-packages | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/capsman-download-packages b/capsman-download-packages index 5a6bd29..5bdb423 100644 --- a/capsman-download-packages +++ b/capsman-download-packages @@ -33,6 +33,6 @@ } } -:if ($updated = true && [ / caps-man manager get enabled ] = true) do={ - / caps-man manager set enabled=yes; +:if ($updated = true) do={ + / caps-man remote-cap remove [ find where version!=$"installed-version" ]; } |