# HG changeset patch # User Pascal Bellard # Date 1198689159 0 # Node ID 5e76ae2196ae0b2292601813625a2ac7e6e18836 # Parent 5041921ae937e85228e93838c24256e826d98620 Improve 'tazpkg check' diff -r 5041921ae937 -r 5e76ae2196ae tazpkg --- a/tazpkg Wed Dec 26 11:22:54 2007 +0100 +++ b/tazpkg Wed Dec 26 17:12:39 2007 +0000 @@ -878,7 +878,15 @@ check_root cd $INSTALLED for PACKAGE in `ls`; do - MSG="Files lost from $PACKAGE :\n" + DEPENDS="" + . $PACKAGE/receipt + if [ -s $PACKAGE/modifiers ]; then + echo "The package $PACKAGE $VERSION has been modified by :" + for i in $(cat $PACKAGE/modifiers); do + echo " $i" + done + fi + MSG="Files lost from $PACKAGE $VERSION :\n" while read file; do [ -e "$file" ] && continue if [ -L "$file" ]; then @@ -887,9 +895,7 @@ echo -e "$MSG $file" MSG="" done < $PACKAGE/files.list - DEPENDS="" - . $PACKAGE/receipt - MSG="Missing dependancies for $PACKAGE : \n" + MSG="Missing dependancies for $PACKAGE $VERSION :\n" for i in $DEPENDS; do [ -d $i ] && continue echo -e "$MSG $i"