|
@ -11,7 +11,7 @@ looknew() { |
|
|
echo -e "\nSearching for NEW configuration files" |
|
|
echo -e "\nSearching for NEW configuration files" |
|
|
FILES="" |
|
|
FILES="" |
|
|
|
|
|
|
|
|
find /var/log/packages -maxdepth 1 -type f ${ONLY_NEW_DOTNEW} | xargs sed -n -e '/^FILE LIST:$/,/^$/p' | fgrep -xv 'FILE LIST:' > $TMPDIR/allfiles |
|
|
find /var/log/packages -maxdepth 1 -type f ${ONLY_NEW_DOTNEW} | xargs sed -n -e '/^FILE LIST:$/,/^$/p' | fgrep -xv 'FILE LIST:' | sort | uniq > $TMPDIR/allfiles |
|
|
|
|
|
|
|
|
local IFS=$'\n' |
|
|
local IFS=$'\n' |
|
|
for f in $(grep '\.new$' $TMPDIR/allfiles | sed -e 's/\.new$//'); do |
|
|
for f in $(grep '\.new$' $TMPDIR/allfiles | sed -e 's/\.new$//'); do |
|
|