echo "**** External trigger running off of master branch. To disable this trigger, set a Github secret named \"PAUSE_EXTERNAL_TRIGGER_UBOOQUITY_MASTER\". ****"
echo "**** External trigger running off of master branch. To disable this trigger, set a Github secret named \"PAUSE_EXTERNAL_TRIGGER_UBOOQUITY_MASTER\". ****"
echo "**** Retrieving external version ****"
echo "**** Retrieving external version ****"
EXT_RELEASE=$(curl -IsL -w %{url_effective} -o /dev/null http://vaemendis.net/ubooquity/service/download.php | sed 's|.*Ubooquity-\\([0-9\\.]*\\).zip|\\1|')
EXT_RELEASE=$(curl -IsL -w %{url_effective} -o /dev/null http://vaemendis.net/ubooquity/service/download.php | sed 's|.*Ubooquity-\([0-9\.]*\).zip|\1|')
if [ -z "${EXT_RELEASE}" ] || [ "${EXT_RELEASE}" == "null" ]; then
if [ -z "${EXT_RELEASE}" ] || [ "${EXT_RELEASE}" == "null" ]; then
issue-message:'Thanks for opening your first issue here! Be sure to follow the [issue template](https://github.com/linuxserver/docker-ubooquity/blob/master/.github/ISSUE_TEMPLATE.md)!'
issue-message:'Thanks for opening your first issue here! Be sure to follow the [bug](https://github.com/linuxserver/docker-ubooquity/blob/master/.github/ISSUE_TEMPLATE/issue.bug.md) or [feature](https://github.com/linuxserver/docker-ubooquity/blob/master/.github/ISSUE_TEMPLATE/issue.feature.md) issue templates!'
pr-message:'Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/linuxserver/docker-ubooquity/blob/master/.github/PULL_REQUEST_TEMPLATE.md)!'
pr-message:'Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/linuxserver/docker-ubooquity/blob/master/.github/PULL_REQUEST_TEMPLATE.md)!'
if [[ -f ${TEMPDIR}/unraid/docker-templates/linuxserver.io/img/${CONTAINER_NAME}-icon.png ]]; then
sed -i "s|master/linuxserver.io/img/linuxserver-ls-logo.png|master/linuxserver.io/img/${CONTAINER_NAME}-icon.png|" ${TEMPDIR}/docker-${CONTAINER_NAME}/${CONTAINER_NAME}.xml