aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-09-21 23:06:05 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-09-21 23:13:45 +0700
commit77a23c4a7bc8795a637cab42381dec66d89257a6 (patch)
treec06fdfc3b63201cc68f00a86acfb8349f34d1225 /misc
parentada6ce81cac40b8905df87d3626e8c7ea7d61328 (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.SlackBuild9
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