30 lines
743 B
Bash
Executable File
30 lines
743 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# This code is part of RF Swift by @Penthertz
|
|
# Author(s): Sébastien Dudek (@FlUxIuS)
|
|
source common.sh
|
|
|
|
# Call the new functions as part of the setup process
|
|
echo -e "${YELLOW}[+] Checking xhost installation${NC}"
|
|
check_xhost
|
|
|
|
echo -e "${YELLOW}[+] Checking PulseAudio installation${NC}"
|
|
check_pulseaudio
|
|
|
|
echo -e "${YELLOW}[+] Checking cURL installation${NC}"
|
|
check_curl
|
|
|
|
echo -e "${YELLOW}[+] Checking Docker installation${NC}"
|
|
check_docker
|
|
|
|
echo -e "${YELLOW}[+] Installing Go${NC}"
|
|
install_go
|
|
|
|
# Ensure Go binary is in the PATH for the current script session
|
|
export PATH=$PATH:/usr/local/go/bin
|
|
|
|
# Check config file
|
|
check_config_file
|
|
|
|
# Ask the user if they want to create an alias after the installation
|
|
install_binary_alias |