#N/A: Check that brew/apt available in related rules
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
from thefuck.utils import which
|
||||
|
||||
apt_available = bool(which('apt-get'))
|
||||
@@ -2,7 +2,7 @@ import subprocess
|
||||
from ..utils import memoize, which
|
||||
|
||||
|
||||
enabled_by_default = bool(which('brew'))
|
||||
brew_available = bool(which('brew'))
|
||||
|
||||
|
||||
@memoize
|
||||
|
||||
Reference in New Issue
Block a user