docs: Make install command more reliable

This commit is contained in:
Serge Guzik 2019-02-12 22:49:50 +02:00
parent 87a86258c4
commit ca98813232

View File

@ -20,9 +20,9 @@ First install [warp-packer](https://github.com/dgiagio/warp/releases) and ensure
$ LOCATION=/usr/local/bin \ $ LOCATION=/usr/local/bin \
LINK=https://raw.githubusercontent.com/guziks/warp4j/master/warp4j \ LINK=https://raw.githubusercontent.com/guziks/warp4j/master/warp4j \
TEMP_LOCATION=/tmp/warp4j \ TEMP_LOCATION=/tmp/warp4j \
curl -fsSL -o $TEMP_LOCATION $LINK && \ bash -c 'curl -fsSL -o $TEMP_LOCATION $LINK && \
chmod 755 $TEMP_LOCATION && \ chmod 755 $TEMP_LOCATION && \
sudo mv $TEMP_LOCATION $LOCATION/warp4j sudo mv $TEMP_LOCATION $LOCATION/warp4j'
``` ```
## Usage ## Usage