Please show the whole thing somehow if possible .. you can also use a pastebin service if it is quite large, ex;
(besides the script there is also a link to a bunch of services you can use yourself)
We can just tell pacman to overwrite everything but it would be better if we could give it a particular scope of paths. Assuming thats the only issue afoot.