diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-09-21 23:06:05 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-09-21 23:13:45 +0700 |
commit | 77a23c4a7bc8795a637cab42381dec66d89257a6 (patch) | |
tree | c06fdfc3b63201cc68f00a86acfb8349f34d1225 /misc | |
parent | ada6ce81cac40b8905df87d3626e8c7ea7d61328 (diff) |
misc/cheat: Remove hard-coded GOROOT path.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/cheat/cheat.SlackBuild | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/misc/cheat/cheat.SlackBuild b/misc/cheat/cheat.SlackBuild index 294cc82b847e..b1cb84eb504b 100644 --- a/misc/cheat/cheat.SlackBuild +++ b/misc/cheat/cheat.SlackBuild @@ -38,15 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -if [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "aarch64" ]; then - export LIBDIRSUFFIX="64" - export GOROOT="/usr/lib${LIBDIRSUFFIX}/go1.22.5/go" - export PATH="${GOROOT}/bin:${PATH}" -else - export GOROOT="/usr/lib/go1.22.5/go" - export PATH="${GOROOT}/bin:${PATH}" -fi - if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 |