diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-08-26 22:54:02 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-08-26 22:54:02 -0300 |
commit | 1f4ca6282b1f35bc8dee1d6d3c24ed2b6c75e82f (patch) | |
tree | 570ac483467ad1cb18c485d5ed10686688899fd6 /src/bin/db-pkg-rm | |
parent | 97a608633fd3fe187af5b1269fcc3398add75901 (diff) |
fix some variables
Diffstat (limited to 'src/bin/db-pkg-rm')
-rwxr-xr-x | src/bin/db-pkg-rm | 4 |
1 files changed, 2 insertions, 2 deletions
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 |