Gopher server revamp!

* gophermap support
* More generic and flexible server
This commit is contained in:
Bryan Ashby
2020-11-27 00:54:56 -07:00
parent 228cd79989
commit f7e4b57763
8 changed files with 98 additions and 29 deletions

View File

@@ -146,6 +146,12 @@ install_node_packages() {
fi
}
copy_template_files() {
if [[ ! -f "./gopher/gophermap" ]]; then
cp "./misc/gophermap" "./gopher/gophermap"
fi
}
enigma_footer() {
log "ENiGMA½ installation complete!"
echo -e "\e[1;33m"
@@ -189,6 +195,7 @@ install_nvm
configure_nvm
download_enigma_source
install_node_packages
copy_template_files
enigma_footer
} # this ensures the entire script is downloaded before execution