diff options
author | Florian Pritz <bluewind@server-speed.net> | 2011-02-06 20:37:35 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@server-speed.net> | 2011-02-06 20:37:35 +0100 |
commit | 9f140581e08b255697a4d824ac57559a04c416e0 (patch) | |
tree | 89ad82ae13c3028c1f6d5e188d71a30dcb76ebff /gvim/gvim.install | |
parent | ae04b18175c5b37bfe8758f8ecec59f486586e7e (diff) | |
download | aur-packages-9f140581e08b255697a4d824ac57559a04c416e0.tar.gz aur-packages-9f140581e08b255697a4d824ac57559a04c416e0.tar.xz |
misc updates
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
Diffstat (limited to 'gvim/gvim.install')
-rw-r--r-- | gvim/gvim.install | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/gvim/gvim.install b/gvim/gvim.install deleted file mode 100644 index f52c82e..0000000 --- a/gvim/gvim.install +++ /dev/null @@ -1,43 +0,0 @@ -post_install() { - - echo "Create gvim related symlinks..." - cd usr/bin - rm -f vim - ln -sf vim-big vim - cd ${OLDPWD} - - echo "Updating desktop and mime database..." - update-desktop-database -q - echo -n "Updating vim help tags..." - usr/bin/vim --noplugins -u NONE -U NONE \ - --cmd ":helptags usr/share/vim/doc" --cmd ":q" > /dev/null 2>&1 - echo "done." -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - # we recover what pacmans database knows about gvim - # is vim installed and well? - if [ -f usr/bin/vim-normal ] ; then - cd usr/bin - rm -f vim - ln -sf vim-normal vim - cd ${OLDPWD} - echo "Recover vim related symlinks ..." - else - # Should never be the case because gvim depends on vim - rm -f usr/bin/vim - fi - echo -n "Updating desktop and mime database..." - update-desktop-database - echo "done." -} - -op=$1 -shift -[ "$(type -t "$op")" = "function" ] && $op "$@" - -# vim:set ts=2 sw=2 et ft=sh: |