File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ install files related to [simpleargs](https://github.com/laurivan/simpleargs) un
1010your home directory in ` ~/.simpleargs.d/ ` .
1111
1212``` bash
13- SUBNET_VERSION=' v0.2.0 '
13+ SUBNET_VERSION=' v0.2.1 '
1414wget -O ~ /.local/bin/subnet https://github.com/eetami/subnet/releases/download/${SUBNET_VERSION} /subnet
1515subnet -h
1616man subnet
Original file line number Diff line number Diff line change @@ -8,8 +8,7 @@ SCRIPT=$(basename $0)
88if [ ! -v SIMPLEARGS ] || [ ! -r " $SIMPLEARGS " ]; then
99 SIMPLEARGS_DIR=" ${HOME} /.simpleargs.d"
1010 SIMPLEARGS=" ${SIMPLEARGS_DIR} /simpleargs"
11- if [ ! -r $SIMPLEARGS ]; then
12- [ -e SIMPLEARGS ] && { echo " ERROR: File exists $SIMPLEARGS but is not readable!" >&2 ; exit 1; }
11+ if [ ! -f $SIMPLEARGS ]; then
1312 [ ! -d $SIMPLEARGS_DIR ] && mkdir $SIMPLEARGS_DIR
1413 SIMPLEARGS_VERSION=' v0.2.0'
1514 SIMPLEARGS_URL=" https://github.com/laurivan/simpleargs/releases/download/${SIMPLEARGS_VERSION} /simpleargs-${SIMPLEARGS_VERSION} "
You can’t perform that action at this time.
0 commit comments