summaryrefslogtreecommitdiff
path: root/tools/linux_packaging/install.sh
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-01-31 14:48:34 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-01-31 14:48:34 +0000
commit339ef19a6f365da265e5d591e8e5a96f6d562012 (patch)
tree0a104f7aedd8c8fccbe5734052edd295732e50fd /tools/linux_packaging/install.sh
parent85b4ff8669c80e3af1f89b826e37a964c62ae51a (diff)
add linux packaging script(s) from 2.0-ongoing
git-svn-id: svn://localhost/ardour2/branches/3.0@8625 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'tools/linux_packaging/install.sh')
-rwxr-xr-xtools/linux_packaging/install.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/linux_packaging/install.sh b/tools/linux_packaging/install.sh
new file mode 100755
index 0000000000..43e86b2fb2
--- /dev/null
+++ b/tools/linux_packaging/install.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+# Make sure we have a terminal for the user to see and then run
+# the real install script.
+
+if [ -z $WINDOWID ]; then
+ if which xterm > /dev/null; then
+ exec xterm -e ./stage2.run
+ elif which gnome-terminal > /dev/null; then
+ exec gnome-terminal -e ./stage2.run
+ elif which konsole > /dev/null; then
+ exec konsole -e ./stage2.run
+ fi
+else
+ ./stage2.run
+fi