Changeset 3327

Show
Ignore:
Timestamp:
01/05/10 01:24:15 (10 years ago)
Author:
imcheng
Message:

Updated installer for Nokia N800 support (startup)

Location:
seattle/trunk/dist
Files:
2 added
2 modified

Legend:

Unmodified
Added
Removed
  • seattle/trunk/dist/seattleinstaller.py

    r3325 r3327  
    19281928          # setup_linux_or_mac_startup() function, and output for the possible 
    19291929          # reasons why configuration to run at startup failed will have already 
    1930           # be given to the user from the setup_linux_or_mac_startup() fucntion. 
    1931           _output("Seattle failed to be configured to run automatically at " \ 
     1930          # be given to the user from the setup_linux_or_mac_startup() function. 
     1931          if platform.node().startswith('Nokia-N'): 
     1932            # if this is a Nokia, we will have a separate script that will  
     1933            # setup the startup. 
     1934            _output("It appears you're using a Nokia internet tablet. To " \ 
     1935                      + "make Seattle run on startup, please run " \ 
     1936                      + "nokia_seattle_startup.sh as root.") 
     1937          else: 
     1938            _output("Seattle failed to be configured to run automatically at " \ 
    19321939                    + "startup.") 
    19331940      else: 
  • seattle/trunk/dist/seattleuninstaller.py

    r3325 r3327  
    1919 
    2020  NOTE: Unlike seattleinstaller.py, this uninstaller was not created to 
    21         potentially handle WindowsCE.  This uninstaller has no funcitonality for 
     21        potentially handle WindowsCE.  This uninstaller has no functionality for 
    2222        WindowsCE! 
    2323""" 
     
    3030import getopt 
    3131import time 
    32  
     32import platform # for detecting Nokia tablets 
    3333 
    3434# Import seattle modules 
     
    355355  """ 
    356356 
     357  # Find out if it is running on a Nokia tablet, which does not have crontab 
     358  # installed. 
     359  if platform.node().startswith('Nokia-N'): 
     360      _output("It appears you're using a Nokia tablet. To completely " \ 
     361            + "uninstall Seattle, please run nokia_seattle_startup.sh " \ 
     362            + "with the -r flag as root.") 
     363      # Stop all instances of seattle from running before returning. 
     364      stop_all_seattle_processes.main() 
     365      return True 
     366 
    357367  # Find out if Seattle is installed (currently in the crontab), and remove if 
    358368  # so.