mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-12-22 22:27:42 +00:00
15 lines
472 B
Bash
Executable File
15 lines
472 B
Bash
Executable File
#! /bin/bash
|
|
|
|
# Some settings are mac specific
|
|
if [[ "$UNAME_STR" == "Darwin" ]]; then
|
|
wget -P "$USER_BIN" https://godist.herokuapp.com/projects/heroku/force/releases/current/darwin-amd64/force
|
|
elif [[ "$UNAME_STR" == "Linux" ]]; then
|
|
wget -P "$USER_BIN" https://godist.herokuapp.com/projects/heroku/force/releases/current/linux-amd64/force
|
|
fi
|
|
|
|
chmod +x "$USER_BIN/force"
|
|
|
|
for f in "$DEFAULT_ASSETS_PATH"/* ; do
|
|
try_link "$f" "$USER_BIN/$(basename "$f")"
|
|
done
|