Remove package-query and yaourt files at the end.
Divide process into each type of a installation package.