mirror of
https://github.com/dchakro/brewlog.git
synced 2026-05-17 10:12:16 -07:00
Update install.sh
Fix checking if the installation location is writable or not
This commit is contained in:
parent
6296379a55
commit
34f328de59
1 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ else
|
||||||
echo "Determined installation location: $BREWLOCATION/brewlog"
|
echo "Determined installation location: $BREWLOCATION/brewlog"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -w /usr/local/bin ]; then
|
if [ -w $BREWLOCATION ]; then
|
||||||
curl -sSL 'https://raw.githubusercontent.com/robocopAlpha/brewlog/master/brewlog.sh' > $BREWLOCATION/brewlog
|
curl -sSL 'https://raw.githubusercontent.com/robocopAlpha/brewlog/master/brewlog.sh' > $BREWLOCATION/brewlog
|
||||||
chmod +x $BREWLOCATION/brewlog
|
chmod +x $BREWLOCATION/brewlog
|
||||||
printf "
|
printf "
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue