Verified Commit 672004c6 authored by Morten Linderud's avatar Morten Linderud 🏄
Browse files

db-functions: Create DEBUGREPOS and DEBUGPKGPOOL


Signed-off-by: Morten Linderud's avatarMorten Linderud <morten@linderud.pw>
parent a962c64e
......@@ -4,8 +4,10 @@ FTP_BASE="/srv/ftp"
ARCHIVE_BASE="/srv/archive"
ARCHIVEUSER='archive'
PKGREPOS=()
DEBUGREPOS=()
PKGPOOL=''
SRCPOOL=''
DEBUGPKGPOOL=''
STAGING_REPOS=()
TESTING_REPOS=()
STABLE_REPOS=()
......
......@@ -443,7 +443,7 @@ check_repo_permission() {
(( ${#PKGREPOS[@]} == 0 )) && return 1
[[ -z "${PKGPOOL}" ]] && return 1
in_array "${repo}" "${PKGREPOS[@]}" || return 1
in_array "${repo}" "${PKGREPOS[@]}" "${DEBUGREPOS[@]}" || return 1
[[ -w $FTP_BASE/${PKGPOOL} ]] || return 1
......
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