Correcting 'not-enough-arguments' check in Packages grep-aptavail helper.

This commit is contained in:
Daniel Baumann 2012-09-29 15:42:38 +02:00
parent 8cd449e67c
commit 68331c3f97
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ then
exit 1
fi
if [ -z "${@}" ]
if [ -z "${2}" ]
then
echo "Usage: $(basename ${0}) FIELD VALUE"