Handle chown not existing
This commit is contained in:
parent
2545620550
commit
d38a177aed
@ -70,7 +70,7 @@ fi
|
||||
# Configure SSH
|
||||
ln -sf $EWCONFIG_ROOT/configs/ssh/config ~/.ssh/config
|
||||
chmod 644 "$HOME/.ssh/config"
|
||||
chown "$USER:$USER" "$HOME/.ssh/config"
|
||||
if type -p chown > /dev/null; then chown "$USER:$USER" "$HOME/.ssh/config"; fi
|
||||
|
||||
# Configure (neo)Vim
|
||||
ln -sf $EWCONFIG_ROOT/configs/nvim/init.vim ~/.config/nvim/init.vim
|
||||
|
Loading…
x
Reference in New Issue
Block a user