From 1f4ca6282b1f35bc8dee1d6d3c24ed2b6c75e82f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?coadde=20=5BM=C3=A1rcio=20Alexandre=20Silva=20Delgado=5D?= Date: Wed, 26 Aug 2015 22:54:02 -0300 Subject: fix some variables --- src/bin/db-pkg-rm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/bin/db-pkg-rm') diff --git a/src/bin/db-pkg-rm b/src/bin/db-pkg-rm index a2d5de1..f70141f 100755 --- a/src/bin/db-pkg-rm +++ b/src/bin/db-pkg-rm @@ -22,7 +22,7 @@ for '_platform' in "${PLATFORMS[@]}"; do if [ "${_platform_name}" == "${_platform}" ]; then source "${CONFIG_DIR}/xbs.d/${_platform}.cfg" - repo_path="${REPO_DIR}/${_platform}/${repo}/os" + repo_path="${REPO_DIR}/${repo}/os" if ! check_repo_permission "${repo}"; then die "You don't have permission to remove packages to %s" "${repo}" @@ -48,7 +48,7 @@ for '_platform' in "${PLATFORMS[@]}"; do for 'pkg_name' in "${pkg_names[@]}"; do msg "Removing %s from [%s]..." "${pkg_name}" "${repo}" done - arch_repo_remove "${repo}" "${tarch}" "${pkgnames[@]}" + pkg_repo_rm "${repo}" "${tarch}" "${pkgnames[@]}" repo_unlock "${repo}" "${tarch}" done else -- cgit v1.2.3-2-g168b