#!/usr/bin/sh
#----------------------------------------------------------------------------
# /tmp/install.sh - goipp installation
#
# Creation   :  2025-02-18 holbru
# Last update:  $Id$
#
# Copyright (c) 2025-@@YEAR@@ Holger Bruenjes, holgerbruenjes(at)gmx(dot)net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#----------------------------------------------------------------------------

# set package name
package_name=goipp

# ---------------------------------------------------------------------------
# activate
# ---------------------------------------------------------------------------
if [ "$(arch)" = "x86_64" ]
then
    arch=64
fi

echo "go manual /usr/lib${arch}/go/1.23/bin/go" | /usr/sbin/update-alternatives --set-selections  >/dev/null 2>&1

exit 0
# ---------------------------------------------------------------------------
# end
# ---------------------------------------------------------------------------
