[MacPorts] #24433: kmymoney : updated port file + starter .app

MacPorts noreply at macports.org
Wed Apr 14 17:46:32 PDT 2010


#24433: kmymoney : updated port file + starter .app
------------------------------------+---------------------------------------
  Reporter:  MK-MacPorts@…          |       Owner:  macports-tickets@…                   
      Type:  update                 |      Status:  reopened                             
  Priority:  Normal                 |   Milestone:                                       
 Component:  ports                  |     Version:                                       
Resolution:                         |    Keywords:  haspatch maintainer                  
      Port:  kmymoney               |  
------------------------------------+---------------------------------------

Comment(by brad@…):

 Use something like "get alias" to test if file exists.

 {{{
 set kmymoney to POSIX file "/opt/local/bin/kmymoneyyyyyyy"
 -- whoops, sticky y key
 try
         get alias kmymoney
 on error
         display alert "There was an error locating KMyMoney's executable."
 & return & return & "Try 'port installed kmymoney' to verify that port
 'kmymoney' is installed." & return & return & "The file we tried to find
 was:" & return & return & "'" & kmymoney & "'" as warning
         return
 end try

 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/24433#comment:28>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list