home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 13 / AACD13.ISO / AACD / System / EASys / InstallPack_47 / EASys!_inst / EASys!_iGuide / Finish.script < prev    next >
Text File  |  2000-07-31  |  4KB  |  102 lines

  1. ; 000307 T.Neidhardt, thomas.neidhardt@fen-net.de, EasySystem
  2. ; AmigaShell script
  3. ; Script for finishing and cleanup of
  4. ; the iGuide installation procedure.
  5.  
  6. ;-------------------------------- 
  7. failat 30
  8. Install_C:CLIexchange MultiNotify DISABLE
  9.  
  10. ;-------------------------------- 
  11. ;Flags are furthermore in Profile:ENV/Flags/  and EASys!:Flags/
  12. ;do not delete the dir itself, but a file ENV:Flags if present
  13. delete >NIL: ENVARC:Flags FORCE QUIET
  14. delete >NIL: ENV:Flags FORCE QUIET
  15.  
  16. ;remove obsolete file backups
  17. delete >NIL: "ENV:Flags/#?$TimeStamp" FORCE QUIET
  18. delete >NIL: "ENVARC:sys/#?$TimeStamp" FORCE QUIET
  19. delete >NIL: "ENV:sys/#?$TimeStamp" FORCE QUIET
  20. delete >NIL: "ENVARC:SHELL#?$TimeStamp" force quiet
  21. delete >NIL: "ENV:SHELL#?$TimeStamp" force quiet
  22. delete >NIL: "SYS:WBstartup/#?$TimeStamp" FORCE QUIET
  23. delete >NIL: "SYS:WBstartup/#?.1" FORCE QUIET
  24. delete >NIL: "SYS:WBstartup/#?.2" FORCE QUIET
  25. delete >NIL: "devs:DosDrivers/#?$TimeStamp" FORCE QUIET
  26. delete >NIL: "SYS:Storage/DosDrivers/#?$TimeStamp" FORCE QUIET
  27. delete >NIL: ENVARC:Flags/Boot_Menu
  28. delete >NIL: ENV:Flags/Boot_Menu
  29.  
  30. ;remove other old stuff, replaced by new commands
  31. cd EASys!:bin
  32. delete >NIL: fm QUIET
  33. delete >NIL: cm QUIET
  34. delete >NIL: presentate QUIET
  35. delete >NIL: ed QUIET
  36. delete >NIL: remoteed QUIET
  37. delete >NIL: more QUIET
  38.  
  39. if exists Install_C:GetCode
  40.  delete >NIL: S:GetCode QUIET
  41. endif
  42.  
  43. delete >NIL: S:Shell-Startup.std FORCE QUIET
  44. delete >NIL: S:Start/Shell-Startup.std FORCE QUIET
  45. delete >NIL: S:Start/Start-Shell-Startup FORCE QUIET
  46. delete >NIL: S:Startup-Sequence.derived FORCE QUIET
  47.  
  48. delete >NIL: EASys!:StartFileMenu/#? FORCE QUIET
  49.  
  50. ;corrections for previous versions
  51. Install_C:ReplaceStrings "S:user-startup" "SYS:EASys!_bin:" "EASys!_bin:" I
  52. delete >NIL: EASys!:Programs/Archive-Manager.rexx FORCE QUIET
  53. delete >NIL: EASys!:Programs/Start_Mail_Addr.rexx FORCE QUIET
  54. delete >NIL: EASys!:Programs/Start_HTML-Browser.rexx FORCE QUIET
  55.  
  56. ;remove previous extra SYS:commodities dir - keep standard
  57. if exists SYS:Commodities
  58.  Install_C:move SYS:Commodities/#? SYS:Tools/Commodities CLONE QUIET
  59.  path SYS:Commodities REMOVE
  60.  delete >NIL: SYS:Commodities FORCE ALL QUIET
  61. endif
  62. ;make sure in any case
  63. Install_C:ReplaceStrings "SYS:StartSys/a_init/3_assigns" "SYS:Commodities" "SYS:Tools/Commodities" I
  64. Install_C:ReplaceStrings "SYS:StartSys/a_init/4_path" "SYS:Commodities" "SYS:Tools/Commodities" I
  65.  
  66. ;Cleanup obsolete StartSys if user is no modas_user
  67. if not exists SYS:StartSys/c_Prepare/EASys!
  68.  delete >NIL: SYS:StartSys FORCE ALL QUIET
  69.  delete >NIL: SYS:ShutDown FORCE ALL QUIET
  70. endif
  71.  
  72. ;Cleanup for Script editing and temporary files
  73. delete >NIL: s:user-startup.2 FORCE QUIET
  74. delete >NIL: s:user-startup.3 FORCE QUIET
  75. delete >NIL: s:user-startup.4 FORCE QUIET
  76. delete >NIL: s:user-startup.5 FORCE QUIET
  77. delete >NIL: s:user-startup.6 FORCE QUIET
  78. delete >NIL: s:user-startup.7 FORCE QUIET
  79. delete >NIL: s:user-startup.8 FORCE QUIET
  80. delete >NIL: s:user-startup.9 FORCE QUIET
  81. delete >NIL: s:user-startup.10 FORCE QUIET
  82. delete >NIL: s:startup-sequence.2 FORCE QUIET
  83. delete >NIL: s:startup-sequence.3 FORCE QUIET
  84. delete >NIL: s:startup-sequence.4 FORCE QUIET
  85. delete >NIL: s:startup-sequence.5 FORCE QUIET
  86. delete >NIL: s:startup-sequence.6 FORCE QUIET
  87. delete >NIL: s:startup-sequence.7 FORCE QUIET
  88. delete >NIL: s:startup-sequence.8 FORCE QUIET
  89. delete >NIL: s:startup-sequence.9 FORCE QUIET
  90. delete >NIL: s:startup-sequence.10 FORCE QUIET
  91.  
  92. ;remove unwanted icons
  93. delete >NIL: "EASys!:EASys!.info" FORCE QUIET
  94. delete >NIL: "EASys!:bin.info" FORCE QUIET
  95. delete >NIL: "EASys!:voice.info" FORCE QUIET
  96.  
  97. ;-------------------------------- 
  98. ;enable File Notifying Deamon
  99. Install_C:CLIexchange MultiNotify ENABLE
  100.  
  101. delete >NIL: T:Trash T:#?.rexx T:Module FORCE QUIET
  102.