Update setup.sh to remove Node installation for non-GUI environments

This commit is contained in:
Bram Kelchtermans 2024-07-12 19:06:36 +02:00
parent 0485669484
commit aae47ae136
2 changed files with 0 additions and 1018 deletions

View File

@ -38,16 +38,6 @@ configure_apt_cacher() {
./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

File diff suppressed because it is too large Load Diff