mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-20 13:23:21 -07:00
Variable was wrong, -u should work now
Never code with migraine :(
This commit is contained in:
parent
6f81578e80
commit
cbe3ba874a
1 changed files with 2 additions and 2 deletions
|
@ -231,12 +231,12 @@ if [ "${AUTOUPDATE}" == "yes" ]; then
|
|||
popd >/dev/null
|
||||
|
||||
ALLARGS2=()
|
||||
for A in ${ALLARGS} ; do
|
||||
for A in ${ALLARGS[@]} ; do
|
||||
if [ ! "${A}" = "-u" ]; then
|
||||
ALLARGS2+=(${A})
|
||||
fi
|
||||
done
|
||||
ALLARGS=("${ALLARGS[@]}")
|
||||
ALLARGS=("${ALLARGS2[@]}")
|
||||
|
||||
if ! type "$0" 2>/dev/null >/dev/null ; then
|
||||
if [ -f "$0" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue