Only pkg_delete the old package if the new one builds properly.
Only pkg_delete the old package if the new one builds properly.

Submitted by:	Dan "The Bug" Bugg <bugg@bugg.strangled.net>

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase