2000-12-13 21:00:00 ShengHuo ZHU <zsh@cs.rochester.edu>
authorShengHuo ZHU <zsh@cs.rochester.edu>
Thu, 14 Dec 2000 18:36:18 +0000 (18:36 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Thu, 14 Dec 2000 18:36:18 +0000 (18:36 +0000)
* nnspool.el (nnspool-lib-dir): Check whether /usr/lib/news/active
exists.

lisp/ChangeLog
lisp/nnspool.el

index 31d976e..b6357b5 100644 (file)
@@ -1,3 +1,8 @@
+2000-12-13 21:00:00  ShengHuo ZHU  <zsh@cs.rochester.edu>
+
+       * nnspool.el (nnspool-lib-dir): Check whether /usr/lib/news/active
+       exists.
+
 2000-12-13 13:00:00  ShengHuo ZHU  <zsh@cs.rochester.edu>
 
        * gnus-msg.el (gnus-post-method): Use backend name when the
index 5cbfed7..1ff3701 100644 (file)
@@ -47,7 +47,10 @@ If you are using Cnews, you probably should set this variable to nil.")
 (defvoo nnspool-nov-directory (concat nnspool-spool-directory "over.view/")
   "Local news nov directory.")
 
-(defvoo nnspool-lib-dir "/usr/lib/news/"
+(defvoo nnspool-lib-dir 
+    (if (file-exists-p "/usr/lib/news/active")
+       "/usr/lib/news/"
+      "/var/lib/news/")
   "Where the local news library files are stored.")
 
 (defvoo nnspool-active-file (concat nnspool-lib-dir "active")