3 # for each package in /system/packages/ check which repository it comes from
5 # actually reverse video
11 if [ "x$1" == "x-n" ]; then
18 for r
in /system
/settings
/package-repositories
/*; do
19 repos
="$repos ${r##*/}"
20 u
=`sed '/^url=/s/url=//g;q' "$r"`
30 while [ $i -lt ${#reponames[@]} ]; do
31 #echo "Checking repo ${reponames[$i]}..."
32 #echo "${repourls[$i]}"
33 if wget
-q --spider "${repourls[$i]}/packages/$p" ; then
34 [ "$onf" == 1 ] ||
echo "$p in ${reponames[$i]}";
40 if [ $found != 1 ]; then
41 echo "${bold}$p NOT FOUND${offbold}"