475 shutil.copy(name, cfg['ericDocDir']) |
475 shutil.copy(name, cfg['ericDocDir']) |
476 except EnvironmentError: |
476 except EnvironmentError: |
477 print("Could not install '{1}'.".format(name)) |
477 print("Could not install '{1}'.".format(name)) |
478 |
478 |
479 # copy some more stuff |
479 # copy some more stuff |
480 for name in ['default.e4k']: |
480 for name in ['default.e4k', 'default_Mac.e4k']: |
481 try: |
481 try: |
482 shutil.copy('{2}{0}{1}'.format(os.sep, name, sourceDir), cfg['ericOthersDir']) |
482 shutil.copy('{2}{0}{1}'.format(os.sep, name, sourceDir), cfg['ericOthersDir']) |
483 except EnvironmentError: |
483 except EnvironmentError: |
484 print("Could not install '{2}{0}{1}'.".format(os.sep, name, sourceDir)) |
484 print("Could not install '{2}{0}{1}'.".format(os.sep, name, sourceDir)) |
485 |
485 |