Update setup.sh to remove Node installation for non-GUI environments
This commit is contained in:
1 parent
0485669484
commit
aae47ae136
2 files changed
-1018
No files matched your search
@@ -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
Reference in new issue
Block a user