Skip to content

Commit

Permalink
fix(vuescan): remove unneeded concatenation with missing quote
Browse files Browse the repository at this point in the history
The hard coding is not needed and a lost/omitted quote breaks the definition.
Best option is to remove both current and possible future problems.
  • Loading branch information
philclifford authored and flexiondotorg committed Dec 18, 2024
1 parent 5c52fe6 commit 455ea7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 01-main/packages/vuescan
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if [ "${ACTION}" != "prettylist" ]; then
amd64) ARCH_VER=x64;;
arm64) ARCH_VER=a64;;
esac
VERSION_PUBLISHED=$(grep -m 1 '<a href="files/vue'${ARCH_VER}'.*\.deb">.*</a>' "${CACHE_FILE}" | cut -d'>' -f2 | cut -d'<' -f1).0-0"
VERSION_PUBLISHED=$(grep -m 1 '<a href="files/vue'${ARCH_VER}'.*\.deb">.*</a>' "${CACHE_FILE}" | cut -d'>' -f2 | cut -d'<' -f1)
local MAJOR_VER=$(echo ${VERSION_PUBLISHED} | cut -d'.' -f1)
local MINOR_VER=$(echo ${VERSION_PUBLISHED} | cut -d'.' -f2)
URL="https://www.hamrick.com/files/vue${ARCH_VER}${MAJOR_VER}${MINOR_VER}.deb"
Expand Down

0 comments on commit 455ea7b

Please sign in to comment.