blob: 0ac127b8b3c854f74d418e866d9bbb12b05c0d56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/bash
#
# Apache License templater module.
#
# Parameters
SHARE="$1"
# Include basic functions
source $SHARE/templater/functions || exit 1
# Apache License
function templater_apache {
if [ ! -e "LICENSE" ]; then
templater_echo "Setting up Apache License..."
cp $SHARE/apache/files/LICENSE .
else
templater_echo "LICENSE already set"
fi
}
# Dispatch
templater_apache
|