blob: 7983f732d613fa479fd6bc6459217fca6cf2c730 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/bash
#
# HTTP Server templater module.
#
# Parameters
SHARE="$1"
# Include basic functions
source $SHARE/templater/functions || exit 1
# Sphinx implementation
function templater_http_server {
if [ ! -e "Makefile.http_server" ]; then
templater_echo "Setting up a basic HTTP Server functionality..."
templater_install_makefile $SHARE/http_server/files/Makefile.http_server
else
templater_echo "HTTP Server functionality already set"
fi
}
# Dispatch
templater_http_server
|