Skip to content

Commit

Permalink
Removes debug logging on unsupported package managers
Browse files Browse the repository at this point in the history
This is to enable non-confusing logging in case when some package
managers are supported by toadie-defined rules
  • Loading branch information
Yurii Rashkovskii committed Feb 2, 2012
1 parent d519d55 commit 6ccdb0c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions apps/htoad/src/htoad_pkg.erl
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ pkg_manager_check(Engine, brew, #package{} = Package) ->
{package_check, Package, '_'})
]);
pkg_manager_check(Engine, UnsupportedPkgMgr, Package) ->
lager:debug("~w packaged is not yet supported, can't check package ~s", [UnsupportedPkgMgr,
format_package(Package)]),
Engine.


Expand All @@ -90,8 +88,6 @@ pkg_manager_install(Engine, brew, #package{} = Package) ->
Shell = ?BREW_SHELL_INSTALL(Package),
htoad:assert(Engine, Shell);
pkg_manager_install(Engine, UnsupportedPkgMgr, Package) ->
lager:debug("~w packaged is not yet supported, can't install package ~s", [UnsupportedPkgMgr,
format_package(Package)]),
Engine.

format_package(#package{ name = Name, version = undefined }) ->
Expand Down

0 comments on commit 6ccdb0c

Please sign in to comment.