Обновить install.sh
исправления пути копирования конфига пользователю
This commit is contained in:
parent
50b5727d87
commit
1badb8354e
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ BASH_SRC="$REPO_DIR/.bashrc"
|
|||
install_user() {
|
||||
local target="$1"
|
||||
if [ -z "$target" ]; then
|
||||
target="$HOME"
|
||||
target="~"
|
||||
fi
|
||||
if [ -f "$target/.bashrc" ] && [ ! -f "$target/.bashrc.bak" ]; then
|
||||
cp "$target/.bashrc" "$target/.bashrc.bak"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue