DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Packaging your software applications

Removal class action script (r.cfgdata)

   # the product manager for this package has suggested that
   # the configuration data is so valuable that it should be
   # backed up to /tmp before it is removed!
   

while read path do # pathnames appear in lexical order, thus directories # will appear first; you cannot operate on directories # until done, so just keep track of names until # later if [ -d $path ] then dirlist="$dirlist $path" continue fi mv $path /tmp || exit 2 done if [ -n "$dirlist" ] then rm -rf $dirlist || exit 2 fi exit 0


Next topic: 4. Define package compatibilities and dependencies
Previous topic: Installation class action script (i.admin)

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003