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`
|
* *CentOS/RHEL*: Run `yum upgrade`
|
||||||
* *Fedora* - Run `dnf upgrade`
|
* *Fedora* - Run `dnf upgrade`
|
||||||
* *Debian/Ubuntu*: Run `apt update && apt dist-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:
|
* 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)
|
* ~/.emacs.d (Should work whether you use [Spacemacs](http://spacemacs.org/) or a custom configuration)
|
||||||
* ~/.zshrc
|
* ~/.zshrc
|
||||||
|
|||||||
@@ -131,11 +131,9 @@ fn run() -> Result<(), Error> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if cfg!(target_os = "macos") {
|
if let Some(brew) = utils::which("brew") {
|
||||||
if let Some(brew) = utils::which("brew") {
|
terminal.print_separator("Brew");
|
||||||
terminal.print_separator("Homebrew");
|
run_homebrew(&brew).report("Brew", &mut reports);
|
||||||
run_homebrew(&brew).report("Homebrew", &mut reports);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
git_repos.insert(home_path(".emacs.d"));
|
git_repos.insert(home_path(".emacs.d"));
|
||||||
|
|||||||
Reference in New Issue
Block a user