home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 49 / PCPP49b.iso / freebies / BeOS5-PersonalEdition / data1.cab / Data_Files / image.be / beos / system / boot / InstallerRebootScript < prev    next >
Encoding:
Text File  |  2000-03-24  |  829 b   |  33 lines

  1. #!/bin/sh
  2. #
  3. # (c)1998, Be, Inc. All rights reserved.
  4. #
  5. # This is the final installation script that runs during the
  6. # first reboot after installing
  7.  
  8. rm -rf /boot/var/tmp/swap.deleteme
  9. /bin/CheckBFS 
  10.  
  11.  
  12. updateFileTypes()
  13. {
  14.     updatetype -v audio/aiff audio/x-aiff audio/aifc audio/x-aifc audio/wav audio/x-wav application/tar application/x-tar application/gzip application/x-gzip application/uuencode application/x-uuencode application/rgb application/x-rgb
  15. }
  16.  
  17. appsToMimeset="NetPositive Expander"
  18. appDir="/boot/beos/apps/"
  19.  
  20. remimeset()
  21. {
  22.     echo updating mime info in applications
  23.     for app in $appsToMimeset; do
  24.         echo updating "$appDir$app"
  25.         mimeset -f -all "$appDir$app"
  26.     done
  27. }
  28.  
  29. RBT_SCRPT='/boot/beos/system/boot/InstallerRebootScript'
  30. rm -f "${RBT_SCRPT}"
  31.  
  32. /boot/beos/apps/NetPositive /boot/beos/documentation/Read_Me_First.html
  33.