Magellan Linux

Diff of /branches/mage-next/usr/lib/mage/magequery.sh

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

revision 1540 by niro, Tue Dec 20 12:50:13 2011 UTC revision 1783 by niro, Mon Mar 12 23:23:28 2012 UTC
# Line 3  Line 3 
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."
# Line 53  do Line 56  do
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 ]]

Legend:
Removed from v.1540  
changed lines
  Added in v.1783