fix [#26093] Install Add-On Fails and deletes script
authorCampbell Barton <ideasman42@gmail.com>
Mon, 21 Feb 2011 07:33:59 +0000 (07:33 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 21 Feb 2011 07:33:59 +0000 (07:33 +0000)
commitb26a4dc4afdd51bca1bd4f2dce4e3b12ecc06b51
tree442416beb463814bdce23bc5a22c3203ae428f75
parent8172207d203ef909585c9e782ea34a52ab2cf1c1
fix [#26093] Install Add-On Fails and deletes script
problem was on installing a file which was already installed, when the source and target paths match python deleted the file.

now check if the selected file is inside any of the addon search paths and abort with an error.
release/scripts/ui/space_userpref.py