Commit 281c159f authored by Vitaly Lipatov's avatar Vitaly Lipatov

add remove_broken rpm script

parent 138ab643
#!/bin/sh
if [ "$1" = "--helper" ] ; then
shift
epm checkpkg "$1" && exit
echo "$1" >>$0.toremove
exit 1
fi
P=/var/ftp/pub/ALTLinux/
[ -n "$1" ] && P="$1"
find "$P" -type f -name "*.rpm" | xargs -n1 $0 --helper
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment