From ae14bcaac9e5028c020ce93069476efb06b981a9 Mon Sep 17 00:00:00 2001 From: Todd Naugle Date: Wed, 29 Jun 2011 18:24:28 +0000 Subject: [PATCH] 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/2.0-ongoing@9777 d708f5d6-7413-0410-9779-e7cbd77b26cf --- tools/linux_packaging/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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