aboutsummaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rw-r--r--install14
1 files changed, 14 insertions, 0 deletions
diff --git a/install b/install
new file mode 100644
index 0000000..92014b3
--- /dev/null
+++ b/install
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+touch ~/.pdrc
+
+if [ "`grep -c pd_start.pd ~/.pdrc`" == "0" ]
+then
+ path=`pwd`
+ cmd="-open `pwd`/pd_start.pd"
+ echo Adding $cmd to your ~/.pdrc file
+ echo $cmd >> ~/.pdrc
+ echo Adding $path to your pd path
+ echo -path $path >> ~/.pdrc
+fi
+