This repository was archived by the owner on Sep 28, 2020. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ### v0.5.1
2+
3+ * ` entrypoint ` and ` cmd ` now handle nils and arrays of strings appropriately.
4+
15### v0.5.0
26
37The biggest change in this release is the soft-removal of OS X support. The
Original file line number Diff line number Diff line change 11#! /bin/sh
2-
32# linux/mac installer for box
4-
5- version=0.5.0
3+ set -e
4+ version=0.5.1
65if [ " $( uname -s) " = " Linux" ]; then
76 arch=" linux"
87else
1312 fi
1413fi
1514
16- echo " Installing version v${version} "
17- curl -sSL " https://github.com/erikh/box/releases/download/v${version} /box-${version} .${arch} .gz" | gunzip -c > /tmp/box
18- chmod ugo+x /tmp/box
19- sudo mv /tmp/box /usr/bin/box
15+ do_install () {
16+ echo " Installing version v${version} "
17+ curl -sSL " https://github.com/erikh/box/releases/download/v${version} /box-${version} .${arch} .gz" | gunzip -c > /tmp/box
18+ chmod ugo+x /tmp/box
19+ sudo mv /tmp/box /usr/bin/box
20+
21+ echo " box v${version} is now installed to /usr/bin/box"
22+ }
2023
21- echo " box v ${version} is now installed to /usr/bin/box "
24+ do_install
You can’t perform that action at this time.
0 commit comments