home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2005 December (Special)
/
PCWorld_2005-12_Special_cd.bin
/
Bezpecnost
/
lsti
/
lsti.exe
/
framework-2.5.exe
/
base-files.sh
< prev
next >
Wrap
Linux/UNIX/POSIX Shell Script
|
2004-12-07
|
453b
|
17 lines
#!/bin/sh
# base-files version 3.2-1
manifest=/etc/preremove/base-files-manifest.lst
[ -f $manifest ] || (echo "Unable to find manifest file" && exit 0)
echo "*** Removing unmodified base files."
echo "*** These will be updated by the postinstall script."
echo "*** Please wait."
while read f; do
/bin/cmp -s "/${f}" "/etc/defaults/${f}" && \
(echo /$f hasn\'t been modified, it will be updated ; \
/bin/rm -f "/${f}")
done < ${manifest}