install.sh: properly handle bsapi install.

Fix bsapi regex and do a proper package diversion so the file is not
over-written with updates.