2013-08-08 03:23:13 +00:00
|
|
|
#! /bin/bash
|
|
|
|
|
|
|
|
# Some settings are mac specific
|
|
|
|
if [[ "$UNAME_STR" == "Darwin" ]]; then
|
2023-02-24 22:36:47 +00:00
|
|
|
wget -P "$USER_BIN" https://godist.herokuapp.com/projects/heroku/force/releases/current/darwin-amd64/force
|
2013-08-08 03:23:13 +00:00
|
|
|
elif [[ "$UNAME_STR" == "Linux" ]]; then
|
2023-02-24 22:36:47 +00:00
|
|
|
wget -P "$USER_BIN" https://godist.herokuapp.com/projects/heroku/force/releases/current/linux-amd64/force
|
2013-08-08 03:23:13 +00:00
|
|
|
fi
|
|
|
|
|
2023-02-24 22:36:47 +00:00
|
|
|
chmod +x "$USER_BIN/force"
|
2013-08-08 03:23:13 +00:00
|
|
|
|
2023-02-24 22:36:47 +00:00
|
|
|
for f in "$DEFAULT_ASSETS_PATH"/* ; do
|
|
|
|
try_link "$f" "$USER_BIN/$(basename "$f")"
|
2013-08-08 03:23:13 +00:00
|
|
|
done
|