99 rm /tmp/no-version.nfo
1010NOVERSION_SET='/tmp/no-version.nfo'
1111cat > "${NOVERSION_SET}" <<-EOFVERSION
12-
13-
1412#######################################################
1513# Update routine will not run because you havent set #
16- # the VERSION variable, for more information checkout #
14+ # the VERSION variable or you opted out of updates. #
15+ # For more information checkout :- #
1716# https://github.com/linuxserver/docker-plex #
1817#######################################################
1918EOFVERSION
2019
2120# test for no version set or opt out for autoupdates
2221if [[ -z "$VERSION" ]] || [[ "$VERSION" == "0" ]] || [[ ! -z "$ADVANCED_DISABLEUPDATES" ]]; then
23- printf "%s\n\n\n" "$(</tmp/no-version.nfo)"
22+ printf "\n\n\n %s\n\n\n" "$(</tmp/no-version.nfo)"
2423exit 0
2524fi
2625
2928 rm /tmp/no-token.nfo
3029NOTOKEN_SET='/tmp/no-token.nfo'
3130cat > "${NOTOKEN_SET}" <<-EOFTOKEN
32-
33-
3431#####################################################
3532# Login via the webui at http://<ip>:32400/web #
3633# and restart the docker, because there was no #
@@ -42,7 +39,7 @@ cat >> "${NOTOKEN_SET}" <<-EOFTOKEN
4239# preference file found, possibly first startup. #
4340#####################################################
4441EOFTOKEN
45- printf "%s\n\n\n" "$(</tmp/no-token.nfo)"
42+ printf "\n\n\n %s\n\n\n" "$(</tmp/no-token.nfo)"
4643exit 0
4744fi
4845
@@ -57,7 +54,7 @@ cat >> "${NOTOKEN_SET}" <<-EOFTOKEN
5754# plex token found in the preference file #
5855#####################################################
5956EOFTOKEN
60- printf "%s\n\n\n" "$(</tmp/no-token.nfo)"
57+ printf "\n\n\n %s\n\n\n" "$(</tmp/no-token.nfo)"
6158exit 0
6259fi
6360
0 commit comments