added unless check in redis update-alternatives exec