Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
dbscripts
Commits
672004c6
Verified
Commit
672004c6
authored
Mar 30, 2021
by
Morten Linderud
🏄
Browse files
db-functions: Create DEBUGREPOS and DEBUGPKGPOOL
Signed-off-by:
Morten Linderud
<
morten@linderud.pw
>
parent
a962c64e
Changes
2
Hide whitespace changes
Inline
Side-by-side
config
View file @
672004c6
...
...
@@ -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
=()
...
...
db-functions
View file @
672004c6
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment