110 |
fi |
fi |
111 |
MAGEFILE="${MAGEDIR}/${PCAT}/${PNAME}/${PNAME}-${PVER}-${PBUILD}.mage" |
MAGEFILE="${MAGEDIR}/${PCAT}/${PNAME}/${PNAME}-${PVER}-${PBUILD}.mage" |
112 |
|
|
113 |
# much faster than fgrep |
# much faster than grep -F |
114 |
checklist_alldeps() |
checklist_alldeps() |
115 |
{ |
{ |
116 |
local i |
local i |
265 |
|
|
266 |
## dep already in ALLDEPS? then going on |
## dep already in ALLDEPS? then going on |
267 |
|
|
268 |
# usage of fgrep is extremly slow and consumes a lot of cpu power |
# usage of grep -F is extremly slow and consumes a lot of cpu power |
269 |
#if [ -z "$(echo ${ALLDEPS} | fgrep "${HIGHEST_DEPFILE}")" ] |
#if [ -z "$(echo ${ALLDEPS} | grep -F "${HIGHEST_DEPFILE}")" ] |
270 |
if checklist_alldeps "${HIGHEST_DEPFILE}" |
if checklist_alldeps "${HIGHEST_DEPFILE}" |
271 |
then |
then |
272 |
### check if the dependency is already installed ### |
### check if the dependency is already installed ### |