Skip to content

Commit

Permalink
unindent multiline strings
Browse files Browse the repository at this point in the history
  • Loading branch information
stsp committed Jan 12, 2025
1 parent cb0e145 commit df76063
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/dosemu-setupfreedos
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ def extract_zipfile_entry(archive, zipinfo, output_filename):
print('File with equal content ' + output_filename + ' already exists, skipping...')
return
else:
print('Existing file with different content found ' + output_filename + """
Likely another DOS version is installed already. Remove the
existing installation with rmfdusr and rerun this script to proceed.""")
print('\nExisting file with different content found:\n\t' + output_filename + """
Likely another DOS version is installed already. Remove the
existing installation with rmfdusr and rerun this script to proceed.""")
sys.exit(1)
with open(output_filename, 'wb') as output_file:
output_file.write(archive.read(zipinfo.filename))
Expand Down Expand Up @@ -92,9 +92,12 @@ def symlink_freecom(drive_root):
if os.path.islink(command_destination) and os.readlink(command_destination) == command_source:
print('Symlink command.com -> bin/command.com already exists.')
else:
print("""Existing command.com with different content found.
Likely another DOS version is installed already. Remove the
existing file and rerun this script to proceed.""")
print("""
Existing command.com with different content found.
Likely another DOS version is installed already. Remove the
existing file and rerun this script to proceed.
""")
else:
os.symlink(command_source, command_destination)
print('Installation complete')
Expand Down

0 comments on commit df76063

Please sign in to comment.