File: disabledby-calendar.dpatch

package info (click to toggle)
vim-scripts 20080722-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 4,352 kB
  • ctags: 2,300
  • sloc: perl: 451; sh: 370; xml: 95; makefile: 25
file content (22 lines) | stat: -rw-r--r-- 608 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#! /bin/sh /usr/share/dpatch/dpatch-run
## disabledby-calendar.dpatch by Stefano Zacchiroli <zack@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad vim-scripts~/plugin/calendar.vim vim-scripts/plugin/calendar.vim
--- vim-scripts~/plugin/calendar.vim
+++ vim-scripts/plugin/calendar.vim
@@ -301,6 +301,11 @@
 "       :echo calendar_version
 " GetLatestVimScripts: 52 1 :AutoInstall: calendar.vim
 
+if exists("loaded_calendar")
+  finish
+endif
+let loaded_calendar = 1
+
 let g:calendar_version = "1.7"
 if &compatible
   finish