home *** CD-ROM | disk | FTP | other *** search
/ Australian Personal Computer 2004 March / Disc 1 / APC0403D1.ISO / toolkit / files / mac / Authoxy2.2.dmg / AuthoxyPrefPane.pkg / Contents / Resources / preinstall < prev   
Encoding:
Text File  |  2003-12-07  |  644 b   |  25 lines

  1. #!/bin/sh
  2.  
  3. if [ -f ~/Library/Preferences/com.hrsoftworks.AuthoxyPref.plist ]
  4. then rm ~/Library/Preferences/com.hrsoftworks.AuthoxyPref.plist
  5. fi
  6.  
  7. if [ -f /Library/Preferences/com.hrsoftworks.AuthoxyPref.plist ]
  8. then rm /Library/Preferences/com.hrsoftworks.AuthoxyPref.plist
  9. fi
  10.  
  11. if [ -d ~/Library/PreferencePanes/Authoxy.prefPane ]
  12. then rm -fR ~/Library/PreferencePanes/Authoxy.prefPane
  13. fi
  14.  
  15. if [ -d /Library/StartupItems/Authoxy ]
  16. then rm -fR /Library/StartupItems/Authoxy]
  17. fi
  18.  
  19. if [ ! -d /Library/PreferencePanes ] 
  20. then mkdir /Library/PreferencePanes
  21. chmod 775 /Library/PreferencePanes
  22. chgrp admin /Library/PreferencePanes
  23. fi
  24.  
  25. killall authoxyd &