File: 0001-rename-data-dir-to-ruby-whitewash.patch

package info (click to toggle)
ruby-whitewash 2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 220 kB
  • sloc: ruby: 1,217; makefile: 3
file content (25 lines) | stat: -rw-r--r-- 805 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
From: Dmitry Borodaenko <angdraug@debian.org>
Date: Wed, 14 Sep 2011 18:10:46 +0300
Subject: rename data dir to ruby-whitewash

---
 lib/whitewash.rb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/whitewash.rb b/lib/whitewash.rb
index 59dc4eb..fe767f3 100644
--- a/lib/whitewash.rb
+++ b/lib/whitewash.rb
@@ -121,9 +121,9 @@ class Whitewash
 
   private
 
-  PATH = [ '/etc/whitewash',
-           File.join(RbConfig::CONFIG['datadir'].untaint, 'whitewash'),
-           '/usr/local/share/whitewash/',
+  PATH = [ '/etc/ruby-whitewash',
+           File.join(RbConfig::CONFIG['datadir'].untaint, 'ruby-whitewash'),
+           '/usr/local/share/ruby-whitewash/',
            File.expand_path('../data/whitewash/', File.dirname(__FILE__)) ]
 
   WHITELIST = 'whitelist.yaml'