diff --git a/README.md b/README.md index a396000e..d9692fde 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Just run `topgrade`. It will run the following steps: * *CentOS/RHEL*: Run `yum upgrade` * *Fedora* - Run `dnf upgrade` * *Debian/Ubuntu*: Run `apt update && apt dist-upgrade` - * *macOS*: Run `brew update && brew upgrade` +* *Unix*: Run `brew update && brew upgrade`. This should handle both Homebrew and Linuxbrew. * Check if the following paths are tracked by Git. If so, pull them: * ~/.emacs.d (Should work whether you use [Spacemacs](http://spacemacs.org/) or a custom configuration) * ~/.zshrc diff --git a/src/main.rs b/src/main.rs index c09574d7..3bb2be80 100644 --- a/src/main.rs +++ b/src/main.rs @@ -131,11 +131,9 @@ fn run() -> Result<(), Error> { } } - if cfg!(target_os = "macos") { - if let Some(brew) = utils::which("brew") { - terminal.print_separator("Homebrew"); - run_homebrew(&brew).report("Homebrew", &mut reports); - } + if let Some(brew) = utils::which("brew") { + terminal.print_separator("Brew"); + run_homebrew(&brew).report("Brew", &mut reports); } git_repos.insert(home_path(".emacs.d"));