The copied shell app should remain untouched. The modified dashboard .rb file would be replaced by a yum update. Though I would hope that the rpm install process would see your change and add a .new to the file that would be the one to replace it. Regardless I’d save your change to a backup in case you lose it on update.