projects
/
grml2usb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix duplicate Syslinux entries (2)
[grml2usb.git]
/
grml2usb
diff --git
a/grml2usb
b/grml2usb
index
5a94e10
..
6cf456a
100755
(executable)
--- a/
grml2usb
+++ b/
grml2usb
@@
-1323,7
+1323,8
@@
def add_entry_if_not_present(filename, entry):
@filename: name of the file
@entry: data to write to the file
"""
- data = open(filename, "r+")
+ data = open(filename, "a+")
+ data.seek(0)
for line in data:
if line == entry:
break