diff options
-rwxr-xr-x | components/init | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/init b/components/init index ca3fa8560..4d3699929 100755 --- a/components/init +++ b/components/init @@ -125,7 +125,7 @@ def main(): print('I: Downloading ' + url) r = urllib.request.urlopen(url) - f = open('config/archives/' + target[0] + '.key', 'b+w') + f = open('config/archives/' + target[0] + '.key', 'w') f.write(r.read()) @@ -147,7 +147,7 @@ def main(): # Configuring default package lists os.makedirs('config/package-lists', exist_ok=True) - f = open('config/package-lists/live.list.chroot', 'a') + f = open('config/package-lists/live.list.chroot', 'w') f.write('live-boot\nlive-config\nlive-config-sysvinit\n') f.close() |