mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
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:
parent
c8921ea277
commit
07ff18db2a
4 changed files with 99 additions and 52 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue