Magellan Linux

Diff of /trunk/mage/usr/lib/mage/magequery.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1287 by niro, Fri Jan 28 20:33:29 2011 UTC revision 1288 by niro, Thu May 12 21:28:23 2011 UTC
# Line 77  then Line 77  then
77   unset i pkg   unset i pkg
78   for i in $(fgrep -rl "${SEARCH_PATH}" ${INSTALLDB})   for i in $(fgrep -rl "${SEARCH_PATH}" ${INSTALLDB})
79   do   do
80     # ignore magefiles!
81     case ${i} in
82     *.mage) continue ;;
83     esac
84    
85   # print categorie and pkgname   # print categorie and pkgname
86   pkg="$(basename ${i%/*/*})/$(basename ${i%/*})"   pkg="$(basename ${i%/*/*})/$(basename ${i%/*})"
87   if [[ -z $(echo ${S_PACKAGES} | grep ${pkg}) ]]   if [[ -z $(echo ${S_PACKAGES} | grep ${pkg}) ]]

Legend:
Removed from v.1287  
changed lines
  Added in v.1288