🐛 fix: Installer works
SHE'S BACK BABEY!
This commit is contained in:
parent
70b93f81dc
commit
24270851a3
5 changed files with 4 additions and 4 deletions
0
homebrew/brew.sh
Normal file → Executable file
0
homebrew/brew.sh
Normal file → Executable file
0
os/pref.sh
Normal file → Executable file
0
os/pref.sh
Normal file → Executable file
4
script/dot.sh
Normal file → Executable file
4
script/dot.sh
Normal file → Executable file
|
@ -168,7 +168,7 @@ link_file()
|
|||
local skip=
|
||||
local action=
|
||||
|
||||
if [[ -f "$dst" -o -d "$dst" -o -L "$dst" ]]; then
|
||||
if [ -f "$dst" -o -d "$dst" -o -L "$dst" ]; then
|
||||
|
||||
if ! $overwrite_all && ! $backup_all && ! $skip_all; then
|
||||
local current_src="$(readlink $dst)"
|
||||
|
@ -214,7 +214,7 @@ link_file()
|
|||
|
||||
fi
|
||||
|
||||
if ! $skip; then
|
||||
if [[ $skip != "true" ]]; then # "false" or empty
|
||||
ln -s "$src" "$dst"
|
||||
print_success "Linked $src to $dst"
|
||||
fi
|
||||
|
|
0
script/utils.sh
Normal file → Executable file
0
script/utils.sh
Normal file → Executable file
|
@ -4,7 +4,7 @@
|
|||
|
||||
if [[ -d "$DOT/functions" ]]; then
|
||||
fpath=($DOT/functions $fpath)
|
||||
autoload -U $DOT/functions/*(:t)
|
||||
{ autoload -U $DOT/functions/*(:t); } &> /dev/null
|
||||
fi
|
||||
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
|
Loading…
Reference in a new issue