mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-25 08:31:03 +00:00
Fix bug No such file or directory in install_update_linux.sh
Create the directory if it does not exist. In this way, we can prevent the error: `install: failed to access ‘~/.local/bin’: No such file or directory`
This commit is contained in:
parent
bedde4a037
commit
32e39ac77d
1 changed files with 3 additions and 0 deletions
|
|
@ -3,6 +3,9 @@
|
||||||
# allow specifying different destination directory
|
# allow specifying different destination directory
|
||||||
DIR="${DIR:-"$HOME/.local/bin"}"
|
DIR="${DIR:-"$HOME/.local/bin"}"
|
||||||
|
|
||||||
|
# ensure the directory exists
|
||||||
|
mkdir -p "$DIR"
|
||||||
|
|
||||||
# map different architecture variations to the available binaries
|
# map different architecture variations to the available binaries
|
||||||
ARCH=$(uname -m)
|
ARCH=$(uname -m)
|
||||||
case $ARCH in
|
case $ARCH in
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue