aboutsummaryrefslogtreecommitdiff
path: root/share/templater/kvmx/setup
blob: 9e9f70b6a90b2af3bfb01e81a53cb1e20bb6b8cc (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