Fixed syntax error which prevented execution

This commit is contained in:
Thomas Kaiser 2016-08-11 15:50:59 +02:00 committed by GitHub
parent 9fcff2fe54
commit a2f848e897

View File

@ -286,7 +286,7 @@ addtorepo()
if [[ -z $(aptly repo list -config=config/aptly.conf -raw | awk '{print $(NF)}' | grep "${release}-utils") ]]; then
aptly repo create -config=config/aptly.conf -distribution=$release -component="${release}-utils" -comment="Armbian utilities" ${release}-utils
fi
if [[ -z $(aptly repo list -config=config/aptly.conf -raw | awk '{print $(NF)}' | grep "${release-desktop") ]]; then
if [[ -z $(aptly repo list -config=config/aptly.conf -raw | awk '{print $(NF)}' | grep "${release}-desktop") ]]; then
aptly repo create -config=config/aptly.conf -distribution=$release -component="${release}-desktop" -comment="Armbian desktop" ${release}-desktop
fi
# create local repository if not exist