847 shutilCopy(name, cfg['ericDocDir']) |
847 shutilCopy(name, cfg['ericDocDir']) |
848 except OSError: |
848 except OSError: |
849 print("Could not install '{0}'.".format(name)) |
849 print("Could not install '{0}'.".format(name)) |
850 |
850 |
851 # copy some more stuff |
851 # copy some more stuff |
852 # TODO: create the default shortcuts files |
|
853 for name in ('default.ekj', 'default_Mac.ekj', |
852 for name in ('default.ekj', 'default_Mac.ekj', |
854 'default.e4k', 'default_Mac.e4k'): |
853 'default.e4k', 'default_Mac.e4k'): |
855 try: |
854 try: |
856 shutilCopy(os.path.join(sourceDir, "others", name), |
855 shutilCopy(os.path.join(sourceDir, "others", name), |
857 cfg['ericOthersDir']) |
856 cfg['ericOthersDir']) |