890 shutilCopy(name, cfg["ericDocDir"]) |
890 shutilCopy(name, cfg["ericDocDir"]) |
891 except OSError: |
891 except OSError: |
892 print("\nCould not install '{0}'.".format(name)) |
892 print("\nCould not install '{0}'.".format(name)) |
893 |
893 |
894 # copy some more stuff |
894 # copy some more stuff |
895 for name in ("default.ekj", "default_Mac.ekj", "default.e4k", "default_Mac.e4k"): |
895 for name in ("default.ekj", "default_Mac.ekj"): |
896 try: |
896 try: |
897 shutilCopy(os.path.join(sourceDir, "others", name), cfg["ericOthersDir"]) |
897 shutilCopy(os.path.join(sourceDir, "others", name), cfg["ericOthersDir"]) |
898 except OSError: |
898 except OSError: |
899 print( |
899 print( |
900 "\nCould not install '{0}'.".format( |
900 "\nCould not install '{0}'.".format( |