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