For MacOS installation, make sure the /usr/local/bin directory exists

This commit is contained in:
Stephen Harris 2017-09-26 10:58:03 -04:00 committed by Nick Craig-Wood
parent b6684ea4f5
commit 6f2a6dfbc5

View File

@ -55,8 +55,11 @@ Unzip the download and cd to the extracted folder.
Move rclone to your $PATH. You will be prompted for your password.
sudo mkdir -p /usr/local/bin
sudo mv rclone /usr/local/bin/
(the `mkdir` command is safe to run, even if the directory already exists).
Remove the leftover files.
cd .. && rm -rf rclone-*-osx-amd64 rclone-current-osx-amd64.zip