Skip to content

Commit 837fd1f

Browse files
committed
linting fixes
1 parent ce2eb86 commit 837fd1f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

root/etc/cont-init.d/50-plex-update

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ EOFFAIL
4141

4242
# test for no version set or opt out for autoupdates
4343
if [[ -z "$VERSION" ]] || [[ "$VERSION" == "0" ]] || [[ ! -z "$ADVANCED_DISABLEUPDATES" ]]; then
44-
printf "\n\n\n%s\n\n\n" "$(</tmp/no-version.nfo)"
44+
printf '\n\n\n%s\n\n\n' "$(</tmp/no-version.nfo)"
4545
exit 0
4646
fi
4747

@@ -61,7 +61,7 @@ cat >> "${NOTOKEN_SET}" <<-EOFTOKEN
6161
# preference file found, possibly first startup. #
6262
#####################################################
6363
EOFTOKEN
64-
printf "\n\n\n%s\n\n\n" "$(</tmp/no-token.nfo)"
64+
printf '\n\n\n%s\n\n\n' "$(</tmp/no-token.nfo)"
6565
exit 0
6666
fi
6767

@@ -76,7 +76,7 @@ cat >> "${NOTOKEN_SET}" <<-EOFTOKEN
7676
# plex token found in the preference file #
7777
#####################################################
7878
EOFTOKEN
79-
printf "\n\n\n%s\n\n\n" "$(</tmp/no-token.nfo)"
79+
printf '\n\n\n%s\n\n\n' "$(</tmp/no-token.nfo)"
8080
exit 0
8181
fi
8282

@@ -106,7 +106,7 @@ last=$?
106106

107107
# test if deb file size is ok, or if download failed
108108
if [[ "$last" -gt "0" ]] || [[ $(stat -c %s /tmp/plexmediaserver_"${REMOTE_VERSION}"_amd64.deb) -lt 10000 ]]; then
109-
printf "\n\n\n%s\n\n\n" "$(</tmp/update_fail.nfo)"
109+
printf '\n\n\n%s\n\n\n' "$(</tmp/update_fail.nfo)"
110110
exit 0
111111
# if ok, try to install it.
112112
else

0 commit comments

Comments
 (0)