summaryrefslogtreecommitdiffstats
path: root/vim/vim.install
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2011-07-24 12:07:51 +0200
committerFlorian Pritz <bluewind@xssn.at>2011-07-24 12:07:51 +0200
commitb8c33ee22e78f48f52bfde7328d20efe73493149 (patch)
treeaf5a3a56a5094facb1c00472c0b1a3be7478eca2 /vim/vim.install
parent9c7f68c9ab1ed52a5c4c2cec57c71b15d2209f52 (diff)
parent34e8f8d7edc734b88753ff7cb0443f8489b02ee8 (diff)
downloadaur-packages-b8c33ee22e78f48f52bfde7328d20efe73493149.tar.gz
aur-packages-b8c33ee22e78f48f52bfde7328d20efe73493149.tar.xz
Merge branch 'master' of git://git.server-speed.net/~flo/git/aur
Diffstat (limited to 'vim/vim.install')
-rw-r--r--vim/vim.install37
1 files changed, 0 insertions, 37 deletions
diff --git a/vim/vim.install b/vim/vim.install
deleted file mode 100644
index 0666b3b..0000000
--- a/vim/vim.install
+++ /dev/null
@@ -1,37 +0,0 @@
-post_install() {
- # if gvim is installed make vim a symlink to vim-big
- if [ -f usr/bin/vim-big ] ; then
- cd usr/bin
- rm -f vim
- ln -sf vim-big vim
- cd ${OLDPWD}
- echo "Create gvim related symlinks..."
- fi
- echo -n "Updating vi help tags..."
- usr/bin/vi --noplugins -u NONE -U NONE \
- --cmd ":helptags usr/share/vim/doc" --cmd ":q" > /dev/null 2>&1
- echo "done."
-}
-
-post_remove() {
- # By all dependencies in the world, that shall never happen, because
- # gvim depends on vim ... but then there is always pacman -Rd ...
-
- # if gvim is installed make vim a symlink to vim-big
- if [ -f usr/bin/vim-big ] ; then
- cd usr/bin
- rm -f vim
- ln -sf vim-big vim
- cd ${OLDPWD}
- echo "Create gvim related symlinks..."
- fi
-}
-
-post_upgrade() {
- post_install $1
-}
-
-
-op=$1
-shift
-[ "$(type -t "$op")" = "function" ] && $op "$@"