Skip to content

Commit

Permalink
Merge pull request #15 from iraf-community/noxquartz
Browse files Browse the repository at this point in the history
Fix application name in "XQuartz not found" error message
  • Loading branch information
olebole authored Mar 24, 2024
2 parents ee052ec + 3552b87 commit 4cf0d30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion xgterm/XGTerm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ APP_NAME=$(echo $(basename -- "$APP_DIR") | sed 's/\.app$//')
function xquartz_error() {
osascript <<EOT
set theCaption to "XQuartz required but not found"
set theMessage to "Please install it and re-login before running $0."
set theMessage to "Please install it and re-login before running $1."
display alert theCaption message theMessage as critical buttons {"Quit", "XQuartz website"}
set response to button returned of the result
if response is "XQuartz website" then open location "https://xquartz.org"
Expand Down
2 changes: 1 addition & 1 deletion ximtool/XImtool
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ APP_NAME=$(echo $(basename -- "$APP_DIR") | sed 's/\.app$//')
function xquartz_error() {
osascript <<EOT
set theCaption to "XQuartz required but not found"
set theMessage to "Please install it and re-login before running $0."
set theMessage to "Please install it and re-login before running $1."
display alert theCaption message theMessage as critical buttons {"Quit", "XQuartz website"}
set response to button returned of the result
if response is "XQuartz website" then open location "https://xquartz.org"
Expand Down

0 comments on commit 4cf0d30

Please sign in to comment.