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

Commit

Permalink
fix: mkdir in install script
Browse files Browse the repository at this point in the history
  • Loading branch information
dimabru committed Apr 20, 2021
1 parent 8ba2e56 commit 9d16f1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ OUTPUT_BASENAME_WITH_POSTFIX=$OUTPUT_BASENAME.zip
curl -L $DOWNLOAD_URL -o $OUTPUT_BASENAME_WITH_POSTFIX
unzip $OUTPUT_BASENAME_WITH_POSTFIX -d $OUTPUT_BASENAME

mkdir -p ~/.datree

if [[ $osName == "Linux" ]]
then
sudo cp $OUTPUT_BASENAME/datree /usr/local/bin
mkdir ~/.datree
else
cp $OUTPUT_BASENAME/datree /usr/local/bin
fi
Expand Down

0 comments on commit 9d16f1b

Please sign in to comment.