Magellan Linux

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

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

revision 228 by niro, Fri Sep 9 16:51:17 2005 UTC revision 229 by niro, Fri Sep 9 16:51:51 2005 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2    
3  #query mage database for installed packages  #query mage database for installed packages
4  # $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/magequery.sh,v 1.9 2005-09-09 16:51:17 niro Exp $  # $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/magequery.sh,v 1.10 2005-09-09 16:51:51 niro Exp $
5    
6  print_usage()  print_usage()
7  {  {
# Line 55  done Line 55  done
55  shift $(($OPTIND - 1))  shift $(($OPTIND - 1))
56    
57    
58  source ${MROOT}/etc/mage.rc  source /etc/mage.rc
59  RETVAL=1  RETVAL=1
60    
61  if [[ ${GET_INVENTORY} = true ]]  if [[ ${GET_INVENTORY} = true ]]

Legend:
Removed from v.228  
changed lines
  Added in v.229