Option 1:
Run the above script and reboot
Option 2:
-
Get Info on file with icon that wont update. Get Info on any other file as well.
-
Click on the icon in the top left corner of the Get Info window for the second file and choose Edit > Copy.
-
Close that Get Info window and return to the first Get Info window.
-
Click on the icon in the top left corner and choose Edit > Paste.
-
Click on the icon in the top left corner again and hit the delete key. The correct icon should now show.