mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-22 07:11:01 +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
|
||||
DIR="${DIR:-"$HOME/.local/bin"}"
|
||||
|
||||
# ensure the directory exists
|
||||
mkdir -p "$DIR"
|
||||
|
||||
# map different architecture variations to the available binaries
|
||||
ARCH=$(uname -m)
|
||||
case $ARCH in
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue