summaryrefslogtreecommitdiff
path: root/src/bin/db-pkg-add
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-08-26 22:54:02 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-08-26 22:54:02 -0300
commit1f4ca6282b1f35bc8dee1d6d3c24ed2b6c75e82f (patch)
tree570ac483467ad1cb18c485d5ed10686688899fd6 /src/bin/db-pkg-add
parent97a608633fd3fe187af5b1269fcc3398add75901 (diff)
fix some variables
Diffstat (limited to 'src/bin/db-pkg-add')
-rwxr-xr-xsrc/bin/db-pkg-add4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/db-pkg-add b/src/bin/db-pkg-add
index 8f961ee..710f24b 100755
--- a/src/bin/db-pkg-add
+++ b/src/bin/db-pkg-add
@@ -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 add packages to %s" "${repo}"
@@ -52,7 +52,7 @@ for '_platform' in "${PLATFORMS[@]}"; do
msg "Adding %s to [%s]..." "${pkg_file}" "${repo}"
fi
done
- arch_repo_add "${repo}" "${tarch}" "${pkg_files[@]}"
+ pkg_repo_add "${repo}" "${tarch}" "${pkg_files[@]}"
repo_unlock "${repo}" "${tarch}"
done
else