Verified Commit 93c0352e authored by Morten Linderud's avatar Morten Linderud 🏄
Browse files

Remove debug prints


Signed-off-by: Morten Linderud's avatarMorten Linderud <morten@linderud.pw>
parent e470a748
......@@ -459,7 +459,6 @@ check_repo_permission() {
}
set_repo_permission() {
local -; set -x
local repo=$1
local arch=$2
local dbfile="${FTP_BASE}/${repo}/os/${arch}/${repo}${DBEXT}"
......@@ -477,13 +476,11 @@ set_repo_permission() {
}
arch_repo_modify() {
echo "call: arch_repo_modify ${@@Q}"
local action=$1
local repo=$2
local arch=$3
local pkgs=("${@:4}")
local dbfile="${FTP_BASE}/${repo}/os/${arch}/${repo}${DBEXT}"
tree "${FTP_BASE}"
if [[ ${action} = remove && ! -f ${dbfile} ]]; then
error "No database found at '%s'" "$dbfile"
......@@ -492,7 +489,6 @@ arch_repo_modify() {
# package files for repo-add might be relative to repo dir
pushd "${dbfile%/*}" >/dev/null
ls
/usr/bin/"repo-${action}" -q "${dbfile}" "${pkgs[@]}" \
|| error '%s' "repo-${action} ${dbfile@Q} ${pkgs[*]@Q}"
set_repo_permission "${repo}" "${arch}"
......
......@@ -79,7 +79,6 @@ done
for repo in "${repos[@]}"; do
msg "Updating [%s]..." "$repo"
tree "${STAGING}/${repo}"
any_pkgs=($(getpkgfiles "${STAGING}/${repo}/"*-any${PKGEXTS} 2>/dev/null))
for pkgarch in "${ARCHES[@]}"; do
add_pkgs=()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment