git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2d575e
)
s4 upgradeprovision: add dns_update_list if missing
author
Matthieu Patou
<mat@matws.net>
Sat, 14 Aug 2010 16:44:35 +0000
(20:44 +0400)
committer
Matthieu Patou
<mat@matws.net>
Sun, 5 Sep 2010 08:29:20 +0000
(12:29 +0400)
source4/scripting/bin/upgradeprovision
patch
|
blob
|
history
diff --git
a/source4/scripting/bin/upgradeprovision
b/source4/scripting/bin/upgradeprovision
index 90586ded64c330992c1c966e4b3a3d03d67974e7..2bae4b9c235cc9e96ba62311e75a8e6314f8403d 100755
(executable)
--- a/
source4/scripting/bin/upgradeprovision
+++ b/
source4/scripting/bin/upgradeprovision
@@
-197,6
+197,7
@@
def check_for_DNS(refprivate, private):
provision"""
spnfile = "%s/spn_update_list" % private
+ dnsfile = "%s/dns_update_list" % private
namedfile = lp.get("dnsupdate:path")
if not namedfile:
@@
-205,6
+206,9
@@
def check_for_DNS(refprivate, private):
if not os.path.exists(spnfile):
shutil.copy("%s/spn_update_list" % refprivate, "%s" % spnfile)
+ if not os.path.exists(dnsfile):
+ shutil.copy("%s/dns_update_list" % refprivate, "%s" % dnsfile)
+
destdir = "%s/new_dns" % private
dnsdir = "%s/dns" % private