updater: Add custom update message depending on package manager (#1287)

* updater: Add custom update message depending on package manager

Close #938
Close #1031

* Reduce cognitive complexity and avoid too many return functions

* Use a dictionary instead of if/else

* Take into account pkg installation with OSX

* updater: add platform detection

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Mr. Outis
2018-11-07 19:04:52 +02:00
committed by Ruslan Kuprieiev
parent 2afe950a27
commit b6842fb089
4 changed files with 120 additions and 35 deletions
+1
View File
@@ -23,6 +23,7 @@ install_requires = [
"requests>=2.18.4",
"grandalf==0.6",
"asciimatics>=1.10.0",
"distro>=1.3.0",
]
# Extra dependencies for remote integrations