repo-add: merge desc and depends files
There is little point in these two files being separated as the whole sync db is parsed at once. Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
2408d46c1b
commit
b520c6312f
1 changed files with 4 additions and 8 deletions
|
@ -418,18 +418,14 @@ db_write_entry() {
|
|||
format_entry "BUILDDATE" "$builddate"
|
||||
format_entry "PACKAGER" "$packager"
|
||||
format_entry "REPLACES" "${_replaces[@]}"
|
||||
} >'desc'
|
||||
|
||||
# create depends entry
|
||||
msg2 "$(gettext "Creating '%s' db entry...")" 'depends'
|
||||
{
|
||||
format_entry "DEPENDS" "${_depends[@]}"
|
||||
format_entry "CONFLICTS" "${_conflicts[@]}"
|
||||
format_entry "PROVIDES" "${_provides[@]}"
|
||||
|
||||
format_entry "DEPENDS" "${_depends[@]}"
|
||||
format_entry "OPTDEPENDS" "${_optdepends[@]}"
|
||||
format_entry "MAKEDEPENDS" "${_makedepends[@]}"
|
||||
format_entry "CHECKDEPENDS" "${_checkdepends[@]}"
|
||||
} >'depends'
|
||||
} >'desc'
|
||||
|
||||
popd >/dev/null
|
||||
popd >/dev/null
|
||||
|
|
Loading…
Add table
Reference in a new issue