Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
fix: delete old datree executable before install
Browse files Browse the repository at this point in the history
  • Loading branch information
dimabru committed Apr 20, 2021
1 parent 9d16f1b commit f392935
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ mkdir -p ~/.datree

if [[ $osName == "Linux" ]]
then
sudo rm -f /usr/local/bin/datree
sudo cp $OUTPUT_BASENAME/datree /usr/local/bin
else
rm -f /usr/local/bin/datree
cp $OUTPUT_BASENAME/datree /usr/local/bin
fi

Expand Down

0 comments on commit f392935

Please sign in to comment.