git-svn-id: http://emdebian.org/svn/current@7323 563faec7-e20c-0410-992a-a66f704d0ccd
main
codehelp 14 years ago
parent ea8a5a5f37
commit 85b4938c84

@ -37,6 +37,10 @@ case "$1" in
shift
INSTALL=1
;;
-y|--yes)
shift
YES=1
;;
*)
echo "Unrecognised option: $1"
exit;
@ -80,7 +84,9 @@ for pkg in $DEPS; do
ERR="$ERR $name ($VERCMP $VERLIMIT) "
fi
fi
CMD="$CMD $name"
if [ -n "$YES" ]; then
CMD="$CMD -y $name"
fi
done
if [ -n "$ERR" ]; then
echo Some packages are not available: $ERR

Loading…
Cancel
Save