rmlauncher
index
/home/u11/umhameld/workspace/birchscripts/rmlauncher.py

June 6th 2010, Dale Hamel, University of Manitoba
 Description: Determines whether the system is OS X or linux, and REMOVES
 the appropriate launcher on the user's desktop.
 
 **This script is the cleanup script for makelauncher.py, should be called by nobirch
 
 Synopsis: python rmlauncher.py
 
 
@modified: June 6 2010
@author: Dale Hamel
@contact: umhameld@cc.umanitoba.ca

 
Modules
       
os
sys

 
Functions
       
get_desktop()
Returns the location of the current user's desktop directory
by reading the environment variable "HOME", and assuming that there
is a "HOME/Desktop" directory
main()
remove_launcher(launcher_path)
rm_apple_launcher(desktop_dir)
rm_gnome_launcher(desktop_dir)
rm_windows_launcher()

 
Data
        BM = <birchlib.Birchmod instance>
PLATFORM = 'solaris-amd64'
PROGRAM = 'rmlauncher.py: '
USAGE = '\n\tUSAGE: makelauncher.py'
blib = '/home/u11/umhameld/public_html/local/pylib/'