Corrected updatePublisher script labels

This commit is contained in:
Lloyd McKenzie 2019-12-19 08:33:24 -07:00
parent b270e6b5db
commit e3543cd084

View File

@ -13,7 +13,7 @@ publisher="$input_cache_dir$publisher_jar"
if test -f "$publisher"; then if test -f "$publisher"; then
echo "IG Publisher FOUND in input-cache" echo "IG Publisher FOUND in input-cache"
jarlocation="$publisher" jarlocation="$publisher"
jarlocationname=Input Cache jarlocationname="Input Cache"
upgrade=true upgrade=true
else else
publisher="../$publisher_jar" publisher="../$publisher_jar"
@ -21,12 +21,12 @@ else
if test -f "$publisher"; then if test -f "$publisher"; then
echo "IG Publisher FOUND in parent folder" echo "IG Publisher FOUND in parent folder"
jarlocation="$publisher" jarlocation="$publisher"
jarlocationname=Input Cache jarlocationname="Parent Folder"
upgrade=true upgrade=true
else else
echo IG Publisher NOT FOUND in input-cache or parent folder... echo IG Publisher NOT FOUND in input-cache or parent folder...
jarlocation="$input_cache_dir$publisher_jar" jarlocation="$input_cache_dir$publisher_jar"
jarlocationname=Input Cache jarlocationname="Input Cache"
upgrade=false upgrade=false
fi fi
fi fi
@ -45,4 +45,4 @@ if [[ "$response" =~ ^([yY])$ ]] then
curl $dlurl -o "$jarlocation" --create-dirs curl $dlurl -o "$jarlocation" --create-dirs
else else
echo cancel... echo cancel...
fi fi