Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

Commit

Permalink
Fix for #155
Browse files Browse the repository at this point in the history
Adding package name to `apt-get remove` command.
  • Loading branch information
Christoph Müller committed Dec 28, 2015
1 parent fee8382 commit 9d91568
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bin/install-cpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,8 @@ function run_installer()

function linux_installer()
{
packageName=eth

echo
head "Installing ethereum"

Expand All @@ -407,7 +409,7 @@ function run_installer()
if [[ $isEth == true ]]
then
info "Uninstalling previous eth version"
exe sudo apt-get remove -y
exe sudo apt-get remove -y "$packageName"
exe sudo apt-get clean
fi

Expand All @@ -420,7 +422,7 @@ function run_installer()
echo

info "Installing eth"
exe sudo apt-get install -q -y eth
exe sudo apt-get install -q -y "$packageName"
echo
}

Expand Down

0 comments on commit 9d91568

Please sign in to comment.