File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -557,11 +557,12 @@ make_packages_repo() {
557557 readarray -t _pkglist < <( " ${tools_dir} /pkglist.sh" " ${pkglist_args[@]} " )
558558
559559 # pacman -Sy --config "${build_pacman_conf}"
560- readarray -t installedpkg < <( pacman-conf -c " ${build_pacman_conf} " -l | xargs -I{} pacman -Sql --config " ${build_pacman_conf} " --color=never {})
560+ readarray -t repopkgs < <( pacman-conf -c " ${build_pacman_conf} " -l | xargs -I{} pacman -Sql --config " ${build_pacman_conf} " --color=never {} && pacman -Sg)
561+
561562 local _pkg
562563 for _pkg in " ${_pkglist[@]} " ; do
563564 msg_info " Checking ${_pkg} ..."
564- if printf " %s\n" " ${installedpkg [@]} " | grep -qx " ${_pkg} " ; then
565+ if printf " %s\n" " ${repopkgs [@]} " | grep -qx " ${_pkg} " ; then
565566 _pkglist_install+=(" ${_pkg} " )
566567 else
567568 msg_info " ${_pkg} was not found. Install it with yay from AUR"
You can’t perform that action at this time.
0 commit comments