Skip to content

Commit

Permalink
fix: typo in script.
Browse files Browse the repository at this point in the history
  • Loading branch information
calmcacil authored Oct 29, 2019
1 parent 591ac0a commit 330fcc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion menu/pgscan/scripts/plex_token.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ jq '.PLEX_TOKEN = "$X_PLEX_TOKEN"' $template | sponge $template
RAN=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
#sed -i 's/plex_autoscan_server_pass/'$RAN'/g' $template
#use jq instead
jq '.SERVER_PASS = "$RAN" $template | sponge $template
jq '.SERVER_PASS = "$RAN"' $template | sponge $template

0 comments on commit 330fcc2

Please sign in to comment.