summaryrefslogtreecommitdiff
path: root/kimesh/debug_install.sh
blob: e92873826c94d85b634fc31e7e942d6312638978 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

PLUGIN_NAME=security_mesh

XDG_CONFIG_HOME="${XDG_CONFIG_HOME-$HOME/.config}"
KICAD_BASE="${1-$XDG_CONFIG_HOME/kicad}"
PLUGIN_DIR="$KICAD_BASE/scripting/plugins/$PLUGIN_NAME"

rm -rf "$PLUGIN_DIR"
mkdir -p "$PLUGIN_DIR"

cp -r * $PLUGIN_DIR/