File: 001-fix-config-examples-path.patch

package info (click to toggle)
gertty 1.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,004 kB
  • sloc: python: 9,290; makefile: 150; sh: 2
file content (16 lines) | stat: -rw-r--r-- 494 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Fix gertty configuration example path
Author: Sebastien Badia <seb@sebian.fr>
Forwarded: not-needed
Last-Update: 2016-07-27

--- a/gertty/config.py
+++ b/gertty/config.py
@@ -281,7 +281,7 @@
         return None
 
     def printSample(self):
-        filename = 'share/gertty/examples'
+        filename = '/usr/share/gertty/examples'
         print("""Gertty requires a configuration file at ~/.gertty.yaml
 If the file contains a password then permissions must be set to 0600.