[SCM] Debian packaging of eekboek branch, master, updated. upstream/2.01.02-210-g0a6e0ed

Thijs Kinkhorst thijs at uvt.nl
Sat Mar 10 17:10:36 UTC 2012


The following commit has been merged in the master branch:
commit 0a6e0ed1eded35c2810b66cc3c719de806372f9f
Author: Thijs Kinkhorst <thijs at uvt.nl>
Date:   Sat Mar 10 18:09:44 2012 +0100

    Wrap emacs include in test to see if package was removed but not purged.
    
    I don't use emacs but I'm told that this should do the trick.

diff --git a/debian/changelog b/debian/changelog
index 382b573..ddf1a3a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,9 @@
 eekboek (2.00.04-2) UNRELEASED; urgency=low
 
   * Update our eekboek-site-start.el from upstream's version, included
-    from 2.01+ in their distribution (closes: 584609).
+    from 2.01+ in their distribution, and add wrapper to check if
+    package removed but not purged. Thanks Kevin Ryde.
+    (closes: 584608, 584609)
 
  -- Thijs Kinkhorst <thijs at debian.org>  Sat, 10 Mar 2012 16:55:30 +0100
 
diff --git a/debian/eekboek-site-start.el b/debian/eekboek-site-start.el
index 0d10ac7..73f1830 100644
--- a/debian/eekboek-site-start.el
+++ b/debian/eekboek-site-start.el
@@ -1,9 +1,12 @@
 ;; Use eekboek-mode for .eb files. Treat .ebz files as (zip) archives.
 
+(if (not (file-exists-p "/usr/share/emacs/site-lisp/eekboek-mode.el"))
+    (message "eekboek removed but not purged, skipping setup")
+
 (autoload 'eekboek-mode "eekboek-mode" "Major mode for editing EekBoek data." t)
 (add-to-list 'auto-mode-alist '("\\.eb\\'" . eekboek-mode))
 (add-to-list 'auto-mode-alist '("\\.ebz\\'" . archive-mode))
 (if (boundp 'auto-coding-alist) ;; no such variable in xemacs21
     (add-to-list 'auto-coding-alist '("\\.ebz\\'" . no-conversion)))
-
+)
 ;;; eekboek-site-start.el ends here

-- 
Debian packaging of eekboek



More information about the Pkg-perl-cvs-commits mailing list