Respawn Topgrade when version is upgraded (fix #85)

This commit is contained in:
Roey Darwish Dror
2018-11-12 21:27:49 +02:00
parent 1e73011a15
commit 7a9e1e4bee
4 changed files with 61 additions and 49 deletions

View File

@@ -27,6 +27,8 @@ distribution which ships the latest version of Rust, such as Arch Linux.
## Usage
Just run `topgrade`. It will run the following steps:
* Try to self-upgrade if compiled with this feature. On Unix systems Topgrade will also respawn
itself if it was upgraded
* *Linux*: Run the system package manager:
* *Arch*: Run [yay](https://github.com/Jguer/yay) or fall back to pacman
* *CentOS/RHEL*: Run `yum upgrade`