diff options
author | Todd Naugle <toddn@glw.com> | 2011-06-29 18:24:07 +0000 |
---|---|---|
committer | Todd Naugle <toddn@glw.com> | 2011-06-29 18:24:07 +0000 |
commit | 10e12dc28774afa92ce64ebc76d9b3a55dd81c91 (patch) | |
tree | f79728b830ac899c536bf9dd4a4efed3b18fa154 /tools/linux_packaging | |
parent | 84be4eafc5228eacfed02f78489fa82d401c2947 (diff) |
Add another test to detect a non interactive shell. This may be the best method. Fixes double click install on AVLinux 5
git-svn-id: svn://localhost/ardour2/branches/3.0@9776 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'tools/linux_packaging')
-rwxr-xr-x | tools/linux_packaging/install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/linux_packaging/install.sh b/tools/linux_packaging/install.sh index a69a478a7f..bedabf9fc4 100755 --- a/tools/linux_packaging/install.sh +++ b/tools/linux_packaging/install.sh @@ -10,7 +10,7 @@ SAVED_PWD=$PWD PKG_PATH=$(dirname "$(readlink -f "$0")") cd "${PKG_PATH}" -if [ -z "$TERM" ] || [ "$TERM" = "dumb" ]; then +if [ -z "$TERM" ] || [ "$TERM" = "dumb" ] || [ -z "$PS1" ]; then if which xterm > /dev/null; then exec xterm -e "${PKG_PATH}/.stage2.run" elif which gnome-terminal > /dev/null; then |