File: Fix-config-file-location

package info (click to toggle)
nncp 8.12.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,584 kB
  • sloc: sh: 610; makefile: 58
file content (27 lines) | stat: -rw-r--r-- 848 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: Look for config file in /etc/nncp.hjson
 .
 nncp (7.6.0-1) unstable; urgency=medium
 .
   * Initial release (Closes: #942689)
Author: John Goerzen <jgoerzen@complete.org>
Bug-Debian: https://bugs.debian.org/942689

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Reviewed-By: John Goerzen <jgoerzen@complete.org>
Last-Update: 2021-09-05

--- a/src/cfg.go
+++ b/src/cfg.go
@@ -42,7 +42,7 @@
 )
 
 var (
-	DefaultCfgPath      string = "/usr/local/etc/nncp.hjson"
+	DefaultCfgPath      string = "/etc/nncp.hjson"
 	DefaultSendmailPath string = "/usr/sbin/sendmail"
 	DefaultSpoolPath    string = "/var/spool/nncp"
 	DefaultLogPath      string = "/var/spool/nncp/log"