Magellan Linux

Contents of /trunk/mage/usr/lib/mage/find_not_installed.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 82 - (show annotations) (download) (as text)
Wed Jun 1 15:56:13 2005 UTC (18 years, 11 months ago) by niro
File MIME type: application/x-sh
File size: 415 byte(s)
new

1 #!/bin/bash
2 # $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/find_not_installed.sh,v 1.1 2005-06-01 15:56:07 niro Exp $
3
4 loc=$1
5
6 if [ -z ${loc} ]
7 then
8 echo
9 echo "Please give me at last one categorie -> /path/to/mage/categorie."
10 echo
11 exit 1
12 fi
13
14 for i in ${loc}/*
15 do
16 z=$(USE_UNSTABLE=true mage pretend $(basename ${i}) | grep -v "already installed")
17 [ -n "${z}" ] && echo $(basename ${i})
18 done

Properties

Name Value
svn:executable *