"... You have to add the repository to your 
pt/sources.list.d/ You also have to add the key."

Who/what/where is: pt/sources.list.d/  ???

Full proper paths and syntax ????


TYPO
chmod +x /install-repository

Should be: chmod +x .//install-repository  ??


TYPO:
ap-get install allstarlink -y

Should be:  apt-get install allstarlink -y   ???