Extract to /usr/local/filtron/local

The /usr/local/filtron/local/go directory will be created by tar.
This commit is contained in:
renyhp 2020-10-19 17:49:03 +02:00 committed by GitHub
parent b386a815da
commit 3bada084a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@
(${SERVICE_USER}) $ mkdir ${SERVICE_HOME}/local (${SERVICE_USER}) $ mkdir ${SERVICE_HOME}/local
(${SERVICE_USER}) $ wget --progress=bar -O "${GO_TAR}" \\ (${SERVICE_USER}) $ wget --progress=bar -O "${GO_TAR}" \\
"${GO_PKG_URL}" "${GO_PKG_URL}"
(${SERVICE_USER}) $ tar -C ${SERVICE_HOME}/local/go -xzf "${GO_TAR}" (${SERVICE_USER}) $ tar -C ${SERVICE_HOME}/local -xzf "${GO_TAR}"
(${SERVICE_USER}) $ which go (${SERVICE_USER}) $ which go
${SERVICE_HOME}/local/go/bin/go ${SERVICE_HOME}/local/go/bin/go