summaryrefslogtreecommitdiff
path: root/tools/linux_packaging/install.sh
blob: 43e86b2fb2f1ea8697398ea4216430a311e6071e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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