Changed $replaces to accept pkg patterns, like Add_dependency().

Changed all packages using $replaces to the new format and bump
the revision. Require XBPS utils >= 20100121 for this to work.

--HG--
extra : convert_revision : 7593b3cb7465f7613f48aba0f2e86cdcd5430ac0
This commit is contained in:
Juan RP 2010-01-21 03:33:26 +01:00
parent 8a50cd385f
commit 0da86577ab
20 changed files with 37 additions and 43 deletions

View file

@ -121,17 +121,6 @@ install_pkg_with_binpkg()
{
local pkgpattern="$1"
#
# Check that installed xbps utils version is recent enough.
#
instver=$(${XBPS_BIN_CMD} -V)
${XBPS_CMPVER_CMD} "${instver}" "20100114"
if [ $? -eq 255 ]; then
echo -n "Your xbps utilities are too old, "
echo "required version: 20100114"
return 1
fi
msg_normal "Installing binary pkg: $pkgpattern"
${fakeroot_cmd} ${fakeroot_cmd_args} ${XBPS_BIN_CMD} \
-y install "$pkgpattern"