Update setup.sh to remove Node installation for non-GUI environments
This commit is contained in:
parent
0485669484
commit
aae47ae136
10
setup.sh
10
setup.sh
|
@ -38,16 +38,6 @@ configure_apt_cacher() {
|
||||||
./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_terminal
|
||||||
configure_apt_cacher
|
configure_apt_cacher
|
||||||
install_node_if_no_gui
|
install_node_if_no_gui
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue