dns_one 0.4.18 → 0.4.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dns_one/setup.rb +6 -2
- data/lib/dns_one/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: edc9676548e252a84602c073f756a77aafef316b
|
4
|
+
data.tar.gz: 06303bb4e84bc690d5587f791a3bf35eec32cf4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee0b2d4f9e4192a201841de18afd47185600499901e08ff3703e9b864f87c138d6e137224e5a493ec19071eb34a2d29f68aad0b52fc20400edf9efbb51be8812
|
7
|
+
data.tar.gz: 31b8e4ae1e096ae736480480ba1464a529187632cad622f9cd38cf7bd80006206e8bb04931ec00a529f90b15c06319084445d68c5fb32e724f3bb0640932b75d
|
data/lib/dns_one/setup.rb
CHANGED
@@ -89,8 +89,12 @@ module DnsOne; class Setup
|
|
89
89
|
end
|
90
90
|
|
91
91
|
def copy_sample_conf
|
92
|
-
|
93
|
-
|
92
|
+
if File.exist? DnsOne::DEFAULT_CONF_FILE
|
93
|
+
STDOUT.puts "File #{DnsOne::DEFAULT_CONF_FILE}, I won`t rewrite it."
|
94
|
+
else
|
95
|
+
copy "#{@thisdir}/../../util/sample_conf.yml",
|
96
|
+
DnsOne::DEFAULT_CONF_FILE
|
97
|
+
end
|
94
98
|
end
|
95
99
|
|
96
100
|
def copy from, to, mod = 0600
|
data/lib/dns_one/version.rb
CHANGED