tweak
git-svn-id: http://emdebian.org/svn/current@7323 563faec7-e20c-0410-992a-a66f704d0ccd
This commit is contained in:
parent
ea8a5a5f37
commit
85b4938c84
1 changed files with 7 additions and 1 deletions
|
@ -37,6 +37,10 @@ case "$1" in
|
||||||
shift
|
shift
|
||||||
INSTALL=1
|
INSTALL=1
|
||||||
;;
|
;;
|
||||||
|
-y|--yes)
|
||||||
|
shift
|
||||||
|
YES=1
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Unrecognised option: $1"
|
echo "Unrecognised option: $1"
|
||||||
exit;
|
exit;
|
||||||
|
@ -80,7 +84,9 @@ for pkg in $DEPS; do
|
||||||
ERR="$ERR $name ($VERCMP $VERLIMIT) "
|
ERR="$ERR $name ($VERCMP $VERLIMIT) "
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
CMD="$CMD $name"
|
if [ -n "$YES" ]; then
|
||||||
|
CMD="$CMD -y $name"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
if [ -n "$ERR" ]; then
|
if [ -n "$ERR" ]; then
|
||||||
echo Some packages are not available: $ERR
|
echo Some packages are not available: $ERR
|
||||||
|
|
Loading…
Reference in a new issue