Installer now handles i18n of the Desktop folder. Running the installer or uninstaller as root work correctly and does not invalidate the sanity checks. Corrected method used to detect if the installer is already running in a visable terminal.
git-svn-id: svn://localhost/ardour2/branches/3.0@10502 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -10,7 +10,10 @@ SAVED_PWD=$PWD
|
||||
PKG_PATH=$(dirname "$(readlink -f "$0")")
|
||||
cd "${PKG_PATH}"
|
||||
|
||||
if [ -z "$TERM" ] || [ "$TERM" = "dumb" ] || [ -z "$PS1" ]; then
|
||||
# check for an interactive terminal
|
||||
# -t fd - Returns true if file descriptor fd is open and refers to a terminal.
|
||||
# fd 1 is stdout
|
||||
if [ ! -t 1 ]; then
|
||||
if which xterm > /dev/null; then
|
||||
exec xterm -e "${PKG_PATH}/.stage2.run"
|
||||
elif which gnome-terminal > /dev/null; then
|
||||
|
||||
Reference in New Issue
Block a user