module Archlinux::MakepkgCommon
Public Instance Methods
add_to_db(db=@config.db, force_sign: false)
click to toggle source
functions common to Makepkg
and MakepkgList
# File lib/aur/makepkg.rb, line 89 def add_to_db(db=@config.db, force_sign: false) unless db.is_a?(DB) SH.logger.error "Bad database #{db}, can't add to database" else db.add(*list.select {|l| r=l.exist?; SH.logger.warn "Package #{l} not built, not adding to the db #{db.repo_name}" unless r; r}, force_sign: force_sign) true #do return false if there were errors end end