summaryrefslogtreecommitdiff
path: root/src/bin/db-pkg-add
diff options
context:
space:
mode:
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