Skip to content

Commit

Permalink
fixed the remove-app function
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Logan committed May 12, 2008
1 parent c4f870c commit 5b6c939
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions lib/epkg/src/epkg.erl
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,9 @@ list_releases() ->
%%--------------------------------------------------------------------
remove_app(AppName, AppVsn) ->
{ok, InstallationPath} = epkg_installed_paths:get_installation_path(),
{ok, TargetErtsVsn} = gas:get_env(epkg, target_erts_vsn, ewr_util:erts_version()),
[A, B] = epkg_util:if_atom_or_integer_to_string([AppName, AppVsn]),
epkg_manage:remove_app(InstallationPath, A, B).
epkg_manage:remove_app(InstallationPath, TargetErtsVsn, A, B).

%% @private
remove_app_help() ->
Expand All @@ -203,7 +204,8 @@ remove_app_help() ->
%%--------------------------------------------------------------------
remove_all_apps(AppName) ->
{ok, InstallationPath} = epkg_installed_paths:get_installation_path(),
epkg_manage:remove_all_apps(InstallationPath, epkg_util:if_atom_or_integer_to_string(AppName)).
{ok, TargetErtsVsn} = gas:get_env(epkg, target_erts_vsn, ewr_util:erts_version()),
epkg_manage:remove_all_apps(InstallationPath, TargetErtsVsn, epkg_util:if_atom_or_integer_to_string(AppName)).

%% @private
remove_all_apps_help() ->
Expand Down
2 changes: 1 addition & 1 deletion lib/epkg/vsn.mk
Original file line number Diff line number Diff line change
@@ -1 +1 @@
EPKG_VSN=0.3.9.0
EPKG_VSN=0.3.9.1
2 changes: 1 addition & 1 deletion lib/faxien/vsn.mk
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FAXIEN_VSN=0.29.5.0
FAXIEN_VSN=0.29.5.1
2 changes: 1 addition & 1 deletion release/faxien/vsn.mk
Original file line number Diff line number Diff line change
@@ -1 +1 @@
REL_VSN=0.29.5.0
REL_VSN=0.29.5.1

0 comments on commit 5b6c939

Please sign in to comment.