Commit 3f2b5454 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

obs/re6st: fix generation of ovnp-* scripts

parent be3b58a4
...@@ -38,7 +38,6 @@ update = ...@@ -38,7 +38,6 @@ update =
if src.readline() != shebang: if src.readline() != shebang:
y = x + '.new' y = x + '.new'
with open(y, 'w') as dst: with open(y, 'w') as dst:
src.readline()
dst.write(shebang) dst.write(shebang)
shutil.copyfileobj(src, dst) shutil.copyfileobj(src, dst)
shutil.copymode(x, y) shutil.copymode(x, y)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment