home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 4.0 PR1 / NeXT_NEXTSTEP_4.0_PR1_(beta).rar / Openstep4-Pr1User.iso / Upgrader.app / Default.upgrade / Hints < prev    next >
Text File  |  1994-08-24  |  7KB  |  170 lines

  1. #
  2. # Upgrading hints for Release 3.3.  
  3. #
  4. # This file may be modified to alter the way in which Upgrader treats
  5. # certain files.  Files for which no hints are provided, or for which
  6. # the hints provided are not relevant given the actual conditions of the
  7. # upgrade, are handled using built-in heuristics. 
  8. #  
  9. # Each line contains a regular expression, whitespace containing at least
  10. # one tab, and a whitespace-separated list of attributes to be applied to
  11. # paths which match the expression.  The attempt to match a given path
  12. # to suitable expressions stops when the first match is found.
  13. #  
  14. # The following ten attributes are available:
  15. #  +update      Update this file even if it's been modified.
  16. #  -update      Give user modifications precedence over a new version of the 
  17. #               file.  But update the file if it hasn't been modified.
  18. # [+-]update only apply to situations involving mode or content changes.  
  19. # Additions and deletions are controlled by a separate set of attributes:
  20. #  
  21. #  +existmatch  If the file exists in the new release, make sure it exists
  22. #               after the upgrade.  If the file does not exist in the new
  23. #             release, make sure it does not exist after the upgrade.
  24. #           
  25. #  -existmatch  If the file was deleted by the user, leave it deleted.  If 
  26. #               it's been modified but doesn't exist in the new release,
  27. #             let it stay around.
  28. #  +interest    If modified, put the file on the list of interesting files.
  29. #  -interest    Don't allow this file to appear on the interesting list.
  30. #
  31. #  -archive     If this file is set to be updated and the user asks to
  32. #               save a copy of all updated files which were customized,
  33. #               don't include this file.
  34. #  +ignore      Don't even checksum this file.  Don't mess with it no 
  35. #               matter what.  Children of an ignored folder are also ignored.
  36. #
  37. #  +priority    When the actual upgrade begins, process this file or folder
  38. #               before any file or folder whose priority is not artificially
  39. #               elevated.  This is used to be sure that the kernel and
  40. #               new shlibs are the first items to be installed.  (Deletions
  41. #        are normally run at high priority by default, to minimize 
  42. #        the chance of running out of disk space.)
  43. #
  44. #  -priority    Process this item as late in the upgrade as possible.
  45. #
  46. # Attributes may be freely intermixed, except that +ignore is incompatible
  47. # with everything else, and the + and - version of the same attribute may
  48. # not be used together.
  49. #
  50. # A couple of translations are performed on the input expressions 
  51. # to make the expression matching look more like shell globbing:
  52. #
  53. #  ?  becomes .         Match any character
  54. #  *  becomes [^/]*     Match anything, but not across components
  55. #  \* becomes *         0 or more of preceeding expression
  56. #  .  becomes \.        Dots are literal
  57. #
  58. # EXCEPTION: '*' at the end of an expression with no other special characters
  59. # matches any filename which matches the expression up to the '*'.  This is 
  60. # different from the usual behavior of '*' in that multiple components may be
  61. # matched.
  62. #
  63. # Additionally, ^ and $ are added to the beginning and end of each entry.
  64. #
  65. # Copyright (C) 1991 by NeXT Computer, Inc. All Rights Reserved.
  66. #
  67. /sdmach                +update +existmatch -interest -archive +priority
  68. /mach                +update +existmatch -interest -archive +priority
  69. /odmach                +update +existmatch -interest -archive -priority
  70. /mach_kernel            +update +existmatch -interest -archive -priority
  71. /usr/shlib/*            +update +existmatch -interest -archive -priority
  72. /.cshrc                -update -interest
  73. /.profile            -update -interest
  74. /.login                -update -interest
  75. /.hidden            +update
  76. /.NeXT/*            -update -interest
  77. /.rhosts            -update -interest
  78. /private/tmp/*            +ignore
  79. /private/dev/*            +update -interest +existmatch
  80. /private/adm/*log*        -update -interest
  81. /private/adm/*.old        -update -interest
  82. /private/adm/wtmp*        -update -interest
  83. /private/adm/lpd-errs*        -update -interest
  84. /private/adm/psout        -update -interest
  85. /private/adm/messages*        -update -interest
  86. /private/adm/software_version    +update +existmatch -interest -archive -priority
  87. /usr/lib/NextStep/software_version    +update +existmatch -interest -archive -priority
  88. /usr/lib/NextStep/BaseSystem*    +update +existmatch -interest -archive -priority
  89. /private/etc/mtab        +ignore
  90. /private/etc/zoneinfo/localtime    +ignore
  91. /private/vm/*            +ignore
  92. /private/etc/netinfo        +ignore
  93. /private/etc/rc.local        -update +interest +existmatch
  94. /private/etc/rc*        +update +existmatch +interest
  95. /private/etc/rmtab        +ignore
  96. /private/etc/syslog.pid        +ignore
  97. /private/etc/utmp        +ignore
  98. /private/etc/sendmail/aliases*    -update
  99. /private/etc/sendmail/sendmail.cf    -update +interest
  100. /private/etc/sendmail/sendmail*    +update +interest
  101. /private/spool/at/lasttimedone    +ignore
  102. /private/spool/mqueue/syslog*    +ignore
  103. /private/spool/NeXT/*        +ignore
  104. /usr/bin/*            +update
  105. /bin/su                -update -interest -archive
  106. /bin/su.wheel            +update -interest
  107. /bin/su.nowheel            +update -interest
  108. /bin/*                +update -priority
  109. /usr/ucb/*            +update -priority
  110. /usr/etc/*            +update -priority
  111. /usr/lib/NextStep/PS.VM        +update +existmatch -interest -archive
  112. /usr/lib/NextStep/WindowServer    +update +existmatch -interest -archive
  113. /usr/lib/NextStep*        +update -priority
  114. /me/*                +ignore
  115. /private/etc/dumpdates        +ignore
  116. /private/etc/fstab        +ignore
  117. /private/etc/hostconfig        +ignore
  118. /private/spool/lpd.lock        +ignore
  119. /private/etc/kern_loader.conf    +update +interest
  120. /private/etc/exports        +ignore
  121. /private/etc/group        -update
  122. /private/etc/passwd        -update
  123. /private/etc/hosts        -update
  124. /private/etc/hosts.equiv    +ignore
  125. /private/etc/hosts.lpd        +ignore
  126. /private/etc/inetd.conf        +update +interest
  127. /private/etc/netgroup        +ignore
  128. /private/etc/networks        +ignore
  129. /private/etc/ntp.drift        +ignore
  130. /private/etc/uucp/L*        -update
  131. /private/etc/uucp/USERFILE    -update
  132. /private/etc/quot*        +existmatch -interest
  133. /usr/etc/quot*            +existmatch -interest
  134. /private/etc/resolv.conf    -update
  135. /usr/etc/rpc.rexd        +existmatch
  136. /private/etc/ttys        -update
  137. /private/etc/xtab        +ignore
  138. /NextApps/WriteNow.app        +ignore
  139. /NextApps/*            +update
  140. /NextAdmin/*            +update
  141. /NextLibrary/Documentation/Canon/*    +existmatch -interest
  142. /NextLibrary/Documentation/*    +update
  143. /NextLibrary/Bookshelves/*    +update
  144. /NextLibrary/InputManager/*    +existmatch +interest
  145. /NextDeveloper            +update -interest
  146. /NextLibrary            +update -interest
  147. /NextApps            +update -interest
  148. /NextDeveloper/Demos/*        +update -interest
  149. /NextDeveloper/*        +update
  150. /usr/standalone/*        +existmatch +update -interest +priority
  151. /usr/template*            +update +existmatch
  152. /lib/*                +update +existmatch
  153. /private/tftpboot/*        +update +existmatch -interest
  154. /NextLibrary/Receipts*        +update +existmatch -interest -archive
  155. /NextLibrary/Packages*        -interest -archive +existmatch
  156. /Net                +ignore
  157. /Net/*                +ignore
  158. /private/Net            +ignore
  159. /lost+found            +ignore
  160. /private/etc            +update
  161. /usr/lib/lib*            +update +existmatch -interest
  162. /usr/template/client/tftpboot/boot    +existmatch +update -interest +priority
  163. /usr/Devices*            +ignore
  164.