diff options
Diffstat (limited to 'kimesh/debug_install.sh')
-rw-r--r-- | kimesh/debug_install.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/kimesh/debug_install.sh b/kimesh/debug_install.sh new file mode 100644 index 0000000..e928738 --- /dev/null +++ b/kimesh/debug_install.sh @@ -0,0 +1,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/ + |