--- network.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/network.py b/network.py index eaef714..a79d584 100644 --- a/network.py +++ b/network.py @@ -730,7 +730,7 @@ class Network: if not os.path.isdir("%s/etc/udev/rules.d" %(instPath,)): iutil.mkdirChain("%s/etc/udev/rules.d" %(instPath,)) - if os.path.isfile(rules): + if os.path.isfile(rules) and rules != destRules: shutil.copy(rules, destRules) else: f = open(destRules, "w") -- 1.6.2.5 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list