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 |
{ |
{ |
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 ]] |