Added the --y option to the add-repository command