Skip to content

Commit

Permalink
Fixes path to main file
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanbc committed May 9, 2023
1 parent 6bbc625 commit a6457f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plexorcist.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RESET=$(tput sgr0)
VERSION=$(curl -s https://api.github.com/repos/stefanbc/plexorcist/releases/latest | grep -o '"tag_name": "[^"]*"' | grep -oE "[0-9]+\.[0-9]+\.[0-9]+")

if [[ $1 == "--check" ]]; then
INSTALLED_VERSION=$(grep -oE "[0-9]+\.[0-9]+\.[0-9]+" plexorcist/plexorcist.py)
INSTALLED_VERSION=$(grep -oE "[0-9]+\.[0-9]+\.[0-9]+" ./plexorcist.py)
if [[ $INSTALLED_VERSION == $VERSION ]]; then
echo "${GREEN}Step 1:${RESET} Plexorcist is up to date!"
else
Expand Down

0 comments on commit a6457f3

Please sign in to comment.