installpkg.sh: fix closing yaf-splash msg

If a package fails to install, the "Please wait, processing..." message stays on the screen.

Greetings!