[Pkg-jed-commit] r152 - trunk/packages/jed-extra/debian/init

Guenter Milde milde-guest at costa.debian.org
Tue Nov 8 10:03:59 UTC 2005


Author: milde-guest
Date: 2005-11-08 10:03:55 +0000 (Tue, 08 Nov 2005)
New Revision: 152

Modified:
   trunk/packages/jed-extra/debian/init/50jed-extra.sl
Log:
make call to ini.sl customizable (using a new optional arg to libdir())


Modified: trunk/packages/jed-extra/debian/init/50jed-extra.sl
===================================================================
--- trunk/packages/jed-extra/debian/init/50jed-extra.sl	2005-11-08 08:12:33 UTC (rev 151)
+++ trunk/packages/jed-extra/debian/init/50jed-extra.sl	2005-11-08 10:03:55 UTC (rev 152)
@@ -4,7 +4,7 @@
 %  Released under the terms of the GNU General Public License (v. 2 or later)
 
 % Location of the jed-extra package's library dir
-$1 = "/usr/lib/jed-extra/";
+$1 = "/usr/share/jed/jed-extra";
 
 % if jed-extra is removed (not purged), this file exists 
 % but nothing else it expects --> abort
@@ -15,14 +15,21 @@
 % Add (and initialize) library directories
 % ----------------------------------------
 
+require("libdir", path_concat($1, "libdir.sl"));
+
 % append the default jed-extra library dir and evaluate its ini.sl file
-require($1 + "libdir.sl"); 
-append_libdir($1);
+append_libdir($1, 1);
 
+% append the default jed-extra library dir, do not evaluate its ini.sl file
+% append_libdir($1, 0);
+
+% Drop-In Modes (recent, help, man, ...)
+% 
+% comment out if you want to keep the original behaviour
 % prepend the drop-in's library dir and evaluate its ini.sl file
-% (recent, help, man, ...)
-% comment out if you want to keep the original behaviour
-add_libdir($1 + "drop-in/");   
+add_libdir($1 + "drop-in/", 1);
+% prepend the drop-in's library dir do not evaluate its ini.sl file
+% add_libdir($1 + "drop-in/", 0);
 
 
 % Globally activate extensions




More information about the Pkg-jed-commit mailing list