aboutsummaryrefslogtreecommitdiff
path: root/share/templater/kvmx/setup
blob: 8b3443f5cd69e57207648ef6d18004c4088467d7 (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
#!/bin/bash
#
# KVMX templater module.
#

# Parameters
SHARE="$1"

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

# KVMX implementation
function templater_kvmx {
  if [ ! -e "kvmxfile" ]; then
    __templater_echo "Setting up kvmx..."
    kvmx init
    #git commit -a -m "Adds kvmx support"
  else
    __templater_echo "KVMX already set"
  fi
}

# Dispatch
templater_kvmx