Diff of /trunk/mage/usr/lib/mage/mageupgrade.sh
Parent Directory | Revision Log | Patch
revision 33 by niro, Thu Jan 6 02:57:12 2005 UTC | revision 37 by niro, Thu Jan 6 03:39:45 2005 UTC | |
---|---|---|
# | Line 41 do | Line 41 do |
41 | #needed packages may have ben renamed ?? | #needed packages may have ben renamed ?? |
42 | if [ -d ${MAGEDIR}/${PCAT}/${PNAME} ] | if [ -d ${MAGEDIR}/${PCAT}/${PNAME} ] |
43 | then | then |
44 | CATEGORIE=${PCAT} MAGENAME=${PNAME} get_highest_magefile | CATEGORIE=${PCAT} MAGENAME=${PNAME} get_highest_magefile &> /dev/null |
45 | ||
46 | #compare them | #compare them |
47 | if [[ $(basename ${HIGHEST_MAGEFILE} .mage) > ${PNAME}-${PVER}-${PBUILD} ]] | if [[ $(basename ${HIGHEST_MAGEFILE} .mage) > ${PNAME}-${PVER}-${PBUILD} ]] |
|