浏览代码

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'.
Kenneth Myhra 3 年之前
父节点
当前提交
f848d65fd9
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      Ports/vim/package.sh

+ 4 - 0
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"
+}