diff options
author | Kenneth Myhra <kennethmyhra@gmail.com> | 2021-10-31 19:37:06 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-10-31 21:09:49 +0100 |
commit | f848d65fd9ee372b047cb86aa8f8168dcdcc7e69 (patch) | |
tree | 3bae4b245330031fe907f439762628520b718870 /Ports/vim | |
parent | 248ff8e971c6bee821a3ec1b86fa23ed7b580f44 (diff) | |
download | serenity-f848d65fd9ee372b047cb86aa8f8168dcdcc7e69.zip |
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'.
Diffstat (limited to 'Ports/vim')
-rwxr-xr-x | Ports/vim/package.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Ports/vim/package.sh b/Ports/vim/package.sh index 9e91d2fb93..fb2cd7ee3d 100755 --- a/Ports/vim/package.sh +++ b/Ports/vim/package.sh @@ -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" +} |