diff options
| author | Josh Rahm <joshuarahm@gmail.com> | 2020-02-01 23:46:55 -0700 |
|---|---|---|
| committer | Josh Rahm <joshuarahm@gmail.com> | 2020-02-01 23:46:55 -0700 |
| commit | 766675ca92cac6aa3bb67fa45ae28da28ae86bcc (patch) | |
| tree | 6f70cf66faa396b4ddc37683652bc510a3b8f6ce /build-script.sh | |
| download | rde-766675ca92cac6aa3bb67fa45ae28da28ae86bcc.tar.gz rde-766675ca92cac6aa3bb67fa45ae28da28ae86bcc.tar.bz2 rde-766675ca92cac6aa3bb67fa45ae28da28ae86bcc.zip | |
First XMonad-JRahm Commit
Have an install script to install XMonad-jrahm on the expected platform.
Diffstat (limited to 'build-script.sh')
| -rwxr-xr-x | build-script.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/build-script.sh b/build-script.sh new file mode 100755 index 0000000..72b6310 --- /dev/null +++ b/build-script.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +actual_bin=$(readlink -f "$0") +proj_dir="$(dirname $actual_bin)" +olddir="$(pwd)" + +cd "$proj_dir" +stack install + +ec="$?" +if [ "$ec" -ne 0 ] ; then + exit "$ec" +fi + +cd "$olddir" + +ln -sf "$HOME/.local/bin/jrahm-xmonad" "$1" |