add to judge whether to change software sources or not