Skip to content

Commit

Permalink
fix: allow linuxbrew
Browse files Browse the repository at this point in the history
3.2.11
  • Loading branch information
TobiTenno committed Jul 18, 2024
1 parent 1c99384 commit ec04625
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fsociety/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "3.2.9"
__version__ = "3.2.11"
2 changes: 1 addition & 1 deletion fsociety/core/repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def install(self, no_confirm: bool = False, clone: bool = True) -> None:
else:
raise InstallError("Supported download tools missing")
command = f"mkdir {self.full_path} && {command} && chmod +x {self.full_path}/{self.name}"
elif target_os == "macos" and "brew" in install and which("brew"):
elif "brew" in install and which("brew"):
brew_opts = install.get("brew")
command = f"brew {brew_opts}"
elif target_os in install and target_os in self.scriptable_os:
Expand Down

0 comments on commit ec04625

Please sign in to comment.