Linuxbrew (fix #31)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
terminal.print_separator("Brew");
|
||||
run_homebrew(&brew).report("Brew", &mut reports);
|
||||
}
|
||||
|
||||
git_repos.insert(home_path(".emacs.d"));
|
||||
|
||||
Reference in New Issue
Block a user