r810 - in /trunk/packages/vim/debian: changelog vim-runtime.postrm vim-runtime.prerm

jamessan at users.alioth.debian.org jamessan at users.alioth.debian.org
Wed Nov 15 03:57:02 UTC 2006


Author: jamessan
Date: Wed Nov 15 04:57:01 2006
New Revision: 810

URL: http://svn.debian.org/wsvn/pkg-vim/?sc=1&rev=810
Log:
Move the tags file to postrm and only perform it during 'remove'.

Added:
    trunk/packages/vim/debian/vim-runtime.postrm
      - copied, changed from r809, trunk/packages/vim/debian/vim-runtime.prerm
Removed:
    trunk/packages/vim/debian/vim-runtime.prerm
Modified:
    trunk/packages/vim/debian/changelog

Modified: trunk/packages/vim/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/debian/changelog?rev=810&op=diff
==============================================================================
--- trunk/packages/vim/debian/changelog (original)
+++ trunk/packages/vim/debian/changelog Wed Nov 15 04:57:01 2006
@@ -7,11 +7,11 @@
   * Shipped tags file was being regenerated (closes: #397837)
     - Do not pre-generate tags file, vim-runtime's postinst is already
       handling tag generation
-    - Remove tags file in vim-runtime's prerm
+    - Remove tags file in vim-runtime's postrm
   * Add Provides: editor to the gvim variants.  (closes: #398572)
   * Remove the empty vim-variant.postrm.
 
- -- James Vega <jamessan at debian.org>  Tue, 14 Nov 2006 08:55:49 -0500
+ -- James Vega <jamessan at debian.org>  Tue, 14 Nov 2006 22:51:58 -0500
 
 vim (1:7.0-158+1) unstable; urgency=medium
 

Copied: trunk/packages/vim/debian/vim-runtime.postrm (from r809, trunk/packages/vim/debian/vim-runtime.prerm)
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/debian/vim-runtime.postrm?rev=810&op=diff
==============================================================================
--- trunk/packages/vim/debian/vim-runtime.prerm (original)
+++ trunk/packages/vim/debian/vim-runtime.postrm Wed Nov 15 04:57:01 2006
@@ -1,6 +1,10 @@
 #!/bin/sh
 
-rm -f /usr/share/vim/addons/doc/tags
+case "$1" in
+  remove)
+    rm -f /usr/share/vim/addons/doc/tags
+    ;;
+esac
 
 #DEBHELPER#
 




More information about the pkg-vim-maintainers mailing list