Skip to content
Snippets Groups Projects
Commit 3befa248 authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

install(win32): continue if a ringtone can't be copied

Errors copying symlinks may occur when the project is cloned using
certain WSL versions.

Change-Id: I92f698d01edd6a94c3dff9bce39441b4df98eec2
parent 799daf73
No related branches found
No related tags found
No related merge requests found
......@@ -176,7 +176,10 @@ def copy_ringtones():
for file in files:
print(bcolors.OKBLUE + "Copying ringtone: " +
file + " -> " + copy_to_path + bcolors.ENDC)
shutil.copy(ringtone_path + os.sep + file, copy_to_path)
try:
shutil.copy(ringtone_path + os.sep + file, copy_to_path)
except:
print(bcolors.FAIL + "Unable to copy file." + bcolors.ENDC)
def compile_and_copy_web_resources():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment