refactor: Update apt-cacher setup script to use IP address instead of hostname for the proxy server
This commit is contained in:
13
setup.sh
13
setup.sh
@@ -36,7 +36,18 @@ configure_apt_cacher() {
|
||||
echo "Configuring apt-cacher..."
|
||||
sudo chmod +x ./apt-cacher/setup.sh
|
||||
./apt-cacher/setup.sh
|
||||
}
|
||||
}
|
||||
|
||||
install_node_if_no_gui() {
|
||||
if [ -z "$XDG_CURRENT_DESKTOP" ]; then
|
||||
echo "No GUI detected, installing Node..."
|
||||
sudo chmod +x ./teleport/install-node.sh
|
||||
./teleport/install-node.sh
|
||||
else
|
||||
echo "GUI detected, skipping Node installation."
|
||||
fi
|
||||
}
|
||||
|
||||
configure_terminal
|
||||
configure_apt_cacher
|
||||
install_node_if_no_gui
|
||||
|
Reference in New Issue
Block a user