3 |
# query mage database for installed packages |
# query mage database for installed packages |
4 |
# $Id$ |
# $Id$ |
5 |
|
|
6 |
|
# always export C locale to fix utf-8 issues |
7 |
|
export LC_ALL=C |
8 |
|
|
9 |
print_usage() |
print_usage() |
10 |
{ |
{ |
11 |
echo "$(basename $0 .sh) querys the mage database for installed packages." |
echo "$(basename $0 .sh) querys the mage database for installed packages." |
56 |
done |
done |
57 |
|
|
58 |
source /etc/mage.rc.global |
source /etc/mage.rc.global |
59 |
source /etc/mage.rc |
source ${MAGERC} |
60 |
RETVAL=1 |
RETVAL=1 |
61 |
|
|
62 |
if [[ ${SEARCH_ONLY_PATH} = true ]] |
if [[ ${SEARCH_ONLY_PATH} = true ]] |