summaryrefslogtreecommitdiffstats
path: root/abs/extra/vim/vim.install
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-06 01:06:40 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-06 01:06:40 (GMT)
commitfa050b437f10141db9c28b4f1327d27aa851d944 (patch)
treed46b04d9f727586bcd5db6de05f93030dcf03d1e /abs/extra/vim/vim.install
parent2e9de8e980bd65c44629c8e1cb84105d530ce560 (diff)
parent676db4cdf0ec3a29073ee4408b8a610b1b334bd3 (diff)
downloadlinhes_pkgbuild-fa050b437f10141db9c28b4f1327d27aa851d944.zip
linhes_pkgbuild-fa050b437f10141db9c28b4f1327d27aa851d944.tar.gz
linhes_pkgbuild-fa050b437f10141db9c28b4f1327d27aa851d944.tar.bz2
Merge branch 'testing' of knoppmyth.net:linhes_pkgbuild into testing
Diffstat (limited to 'abs/extra/vim/vim.install')
-rw-r--r--abs/extra/vim/vim.install38
1 files changed, 0 insertions, 38 deletions
diff --git a/abs/extra/vim/vim.install b/abs/extra/vim/vim.install
deleted file mode 100644
index 1d46e19..0000000
--- a/abs/extra/vim/vim.install
+++ /dev/null
@@ -1,38 +0,0 @@
-post_install() {
- # if we have an existing gvim installation - relocate binaries and symlinks
- if [ -f usr/bin/vim ] ; then
- cd usr/bin
- rm -f view rview
- ln -s vim view
- ln -s vim rview
- cd ${OLDPWD}
- echo "Create vim related symlinks..."
- fi
- 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."
-}
-
-pre_remove() {
- cd usr/bin
- rm -f view rview
- if [ -f usr/bin/vi ] ; then
- ln -s vi view
- ln -s vi rview
- echo "Create vi related symlinks..."
- fi
- cd ${OLDPWD}
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_upgrade() {
- pre_remove $2
-}
-
-op=$1
-shift
-[ "$(type -t "$op")" = "function" ] && $op "$@"