home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / Upgrade_3.0.app / Default.upgrade / Hints next >
Text File  |  1992-07-17  |  7KB  |  169 lines

  1. #
  2. # Upgrading hints for Release 3.0.  
  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 firUWatch 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. # EXCEPTIONUX' 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. /usr/shlib/*            +update +existmatch -interest -archive -priority
  71. /.cshrc                -update -interest
  72. /.profile            -update -interest
  73. /.login                -update -interest
  74. /.hidden            +update
  75. /.NeXT/*            -update -interest
  76. /.rhosts            -update -interest
  77. /private/tmp/*            +ignore
  78. /private/dev/*            +update -interest +existmatch
  79. /private/adm/*log*        -update -interest
  80. /private/adm/*.old        -update -interest
  81. /private/adm/wtmp*        -update -interest
  82. /private/adm/lpd-errs*        -update -interest
  83. /private/adm/psout        -update -interest
  84. /private/adm/messages*        -update -interest
  85. /private/adm/software_version    +update +existmatch -interest -archive -priority
  86. /usr/lib/NextStep/software_version    +update +existmatch -interest -archive -priority
  87. /usr/lib/NextStep/BaseSystem*    +update +existmatch -interest -archive -priority
  88. /private/etc/mtab        +ignore
  89. /private/etc/zoneinfo/localtime    +ignore
  90. /private/vm/*            +ignore
  91. /private/etc/netinfo        +ignore
  92. /private/etc/rc*        +update +existmatch +interest
  93. /private/etc/rmtab        +ignore
  94. /private/etc/syslog.pid        +ignore
  95. /private/etc/utmp        +ignore
  96. /private/etc/sendmail/aliases*    -update
  97. /private/etc/sendmail/sendmail.cf    -update +interest
  98. /private/etc/sendmail/sendmail*    +update +interest
  99. /private/spool/at/lasttimedone    +ignore
  100. /private/spool/mqueue/syslog*    +ignore
  101. /private/spool/NeXT/*        +ignore
  102. /usr/bin/*            +update
  103. /bin/su                -update -interest -archive
  104. /bin/su.wheel            +update -interest
  105. /bin/su.nowheel            +update -interest
  106. /bin/*                +update -priority
  107. /usr/ucb/*            +update -priority
  108. /usr/etc/*            +update -priority
  109. /usr/lib/NextStep/PS.VM        +update +existmatch -interest -archive
  110. /usr/lib/NextStep/WindowServer    +update +existmatch -interest -archive
  111. /usr/lib/NextStep*        +update -priority
  112. /me/*                +ignore
  113. /private/etc/dumpdates        +ignore
  114. /private/etc/fstab        +ignore
  115. /private/etc/hostconfig        +ignore
  116. /private/sUY/lpd.lock        +ignore
  117. /private/etc/kern_loader.conf    +update +interest
  118. /private/etc/exports        +ignore
  119. /private/etc/group        -update
  120. /private/etc/passwd        -update
  121. /private/etc/hosts        -update
  122. /private/etc/hosts.equiv    +ignore
  123. /private/etc/hosts.lpd        +ignore
  124. /private/etc/inetd.conf        +update +interest
  125. /private/etc/netgroup        +ignore
  126. /private/etc/networks        +ignore
  127. /private/etc/ntp.drift        +ignore
  128. /private/etc/uucp/L*        -update
  129. /private/etc/uucp/USERFILE    -update
  130. /private/etc/quot*        +existmatch -interest
  131. /usr/etc/quot*            +existmatch -interest
  132. /private/etc/resolv.conf    -update
  133. /usr/etc/rpc.rexd        +existmatch
  134. /private/etc/ttys        -update
  135. /private/etc/xtab        +ignore
  136. /NextApps/WriteNow.app        +ignore
  137. /NextApps/*            +update
  138. /NextAdmin/*            +update
  139. /NextLibrary/Documentation/*    +update
  140. /NextLibrary/Bookshelves/*    +update
  141. /NextDeveloper            +update -interest
  142. /NextLibrary            +update -interest
  143. /NextApps            +update -interest
  144. /NextDeveloper/Demos/*        +update -interest
  145. /NextDeveloper/*        +update
  146. /usr/standalone/*        +existmatch +update -interest +priority
  147. /usr/template*            +update +existmatch
  148. /lib/*                +update +existmatch
  149. /private/tftpboot/*        +update +existmatch -interest
  150. /NextLibrary/Receipts*        +update +existmatch -interest -archive
  151. /NextLibrary/Packages*        -interest -archive +existmatch
  152. /Net                +ignore
  153. /Net/*                +ignore
  154. /private/Net            +ignore
  155. /lost+found            +ignore
  156. /private/etc            +update
  157. /usr/lib/lib*            +update +existmatch -interest
  158. /usr/template/client/tftpboot/boot    +existmatch +update -interest +priority
  159. /private/etc/rc.local        -update +interest +existmatch
  160.  
  161.  
  162.  
  163.