summaryrefslogtreecommitdiff
path: root/plugin/debug_install.sh
diff options
context:
space:
mode:
authorjaseg <git-bigdata-wsl-arch@jaseg.de>2020-08-13 12:41:45 +0200
committerjaseg <git-bigdata-wsl-arch@jaseg.de>2020-08-13 12:41:45 +0200
commita21f9d909c64dcdbc093abf7211ac61d3614cfc0 (patch)
tree5402bcdfdbcb9b788d5cad5c16d05c0408a5f19b /plugin/debug_install.sh
downloadkimesh-a21f9d909c64dcdbc093abf7211ac61d3614cfc0.tar.gz
kimesh-a21f9d909c64dcdbc093abf7211ac61d3614cfc0.tar.bz2
kimesh-a21f9d909c64dcdbc093abf7211ac61d3614cfc0.zip
making progress
Diffstat (limited to 'plugin/debug_install.sh')
-rw-r--r--plugin/debug_install.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/plugin/debug_install.sh b/plugin/debug_install.sh
new file mode 100644
index 0000000..e928738
--- /dev/null
+++ b/plugin/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/
+