Ports/vim: Add symlink 'vi' pointing to target 'vim'

This adds a symlink named 'vi' which points to the target 'vim'. It's
useful in scenarios where a third-party application might rely on 'vi'.
This commit is contained in:
Kenneth Myhra 2021-10-31 19:37:06 +01:00 committed by Andreas Kling
parent 248ff8e971
commit f848d65fd9

View file

@ -15,3 +15,7 @@ export vim_cv_tgetent=zero
export vim_cv_terminfo=yes
export vim_cv_toupper_broken=no
export vim_cv_tty_group=world
post_install() {
run ln -sf vim "${SERENITY_INSTALL_ROOT}/usr/local/bin/vi"
}