kill-enabled.sh
#!/bin/bash
# Check if the script is run as root
if [ "$(id -u)" -ne 0 ]; then
kill-enabled.sh
#!/bin/bash
# Check if the script is run as root
if [ "$(id -u)" -ne 0 ]; then
#!/bin/bash | |
set -e | |
echo "Installing Python 3.10 and troubleshooting venv creation" | |
# Install Python 3.10 | |
echo "Installing Python 3.10..." | |
sudo apt update | |
sudo apt install -y software-properties-common |
#!/bin/bash | |
# Clear lock file if it exists | |
rm -f /tmp/script_lock/running | |
echo "Starting installation..." | |
rm -rf /usr/local/go | |
cd ~/ | |
apt update -y && apt install build-essential pkg-config libssl-dev wget git-all -y | |
# Check architecture and set appropriate Go download URL |