aboutsummaryrefslogtreecommitdiff
path: root/share/templater/wtfpl/setup
blob: ff341182d3c23ed367896c6acb397d6605650302 (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
#
# WTFPL templater module.
#

# Parameters
SHARE="$1"

# Include basic functions
source $SHARE/templater/functions || exit 1

# Do What the Fuck You Want to Public License - WTFPL
function templater_wtfpl {
  if [ ! -e "LICENSE" ]; then
    __templater_echo "Setting up Do What the Fuck You Want Public License..."
    cp $SHARE/wtfpl/files/LICENSE .
  else
    __templater_echo "LICENSE already set"
  fi
}

# Dispatch
templater_wtfpl