- Every change to config file by package-manager causing more newlines to
be added to
ldflags =
line.
If there is no value set to the variable ("") or it is set to None, than
put a comment in front of that line.
This commit is contained in:
@@ -77,8 +77,10 @@ class Install(install):
|
|||||||
and not m[0].endswith('__')]
|
and not m[0].endswith('__')]
|
||||||
|
|
||||||
for member in section_members:
|
for member in section_members:
|
||||||
pisiconf.write("%s = %s\n" % (member[0], member[1]))
|
if member[1] == None or member[1] == "":
|
||||||
|
pisiconf.write("# %s = %s\n" % (member[0], member[1]))
|
||||||
|
else:
|
||||||
|
pisiconf.write("%s = %s\n" % (member[0], member[1]))
|
||||||
pisiconf.write('\n')
|
pisiconf.write('\n')
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user