aboutsummaryrefslogtreecommitdiff
path: root/share/templater/templater/setup
blob: fd26e5c2b747dca9855e8ce34d2b2ca556832b44 (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
26
#!/bin/bash
#
# Templater Module templater module.
#

# Parameters
SHARE="$1"

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

# Templater module
function templater_templater {
  if [ ! -e "description" ]; then
    __templater_echo "Setting Templater Module"

    touch setup description
    chmod +x setup
    mkdir files
  else
    __templater_echo "Templater Module already set"
  fi
}

# Dispatch
templater_templater