Improved creation of symlink
Bug #1801539 reported by
Matthias Homann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rapid Photo Downloader |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Before creating the symlink to the installed program, the installation script currently only checks if there is a file with the same name. This could be the correct symlink from a previous installation, but also a broken symlink or just a file with the same name (maybe not very likely).
In case of a broken symlink, os.path.exists returns False but the creation of a new symlink will fail with FileExistsError.
I suggest to add a few more checks and to provide the user some hints in case the symlink is not created.
You can find a diff to script version 0.2.5 with my suggested changes at https:/
Changed in rapid: | |
status: | New → Fix Committed |
milestone: | none → 0.9.13 |
Changed in rapid: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.