mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-07-14 09:12:59 -07:00
Merge pull request #35 from AltonV/master
checking for "nothing to commit" doen't work when using another language than english
This commit is contained in:
commit
b46b24f46f
1 changed files with 2 additions and 2 deletions
|
@ -108,8 +108,8 @@ if [ "${AUTOUPDATE}" == "yes" ]; then
|
||||||
echo "Error: This is not a git repository, auto update only works if you've done a git clone"
|
echo "Error: This is not a git repository, auto update only works if you've done a git clone"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
git status | grep "nothing to commit" >/dev/null 2>/dev/null
|
git status | grep "git commit -a" >/dev/null 2>/dev/null
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo "Error: You have made changes to the script, cannot auto update"
|
echo "Error: You have made changes to the script, cannot auto update"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue