home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 June / PCWorld_2005-06_cd.bin / software / vyzkuste / firewally / firewally.exe / framework-2.3.exe / base-files-profile.sh.done < prev    next >
Text File  |  2003-08-12  |  266b  |  13 lines

  1. #!/bin/sh
  2.  
  3. cd /etc/defaults
  4. find . -type f | while read f; do
  5.     fDest=`echo $f | sed 's/^\.//g'`
  6.     if [ ! -e $fDest -a ! -L $fDest ]; then
  7.         echo Using the default version of $fDest
  8.         cp $f $fDest
  9.     else
  10.         echo $fDest is already in existance, not overwriting.
  11.     fi
  12. done
  13.