[minor] add upgrade script to rpm and deb agent packages