fix: detect implicitly installed packages in moonarch-update
All checks were successful
Update PKGBUILD version / update-pkgver (push) Successful in 3s
All checks were successful
Update PKGBUILD version / update-pkgver (push) Successful in 3s
Use pacman -Qq (all installed) instead of -Qqe (explicit only) so packages installed as dependencies are not falsely reported as missing.
This commit is contained in:
parent
48b0de071e
commit
f6869c9cea
@ -56,7 +56,7 @@ fi
|
||||
log "=== Reconcile package lists ==="
|
||||
|
||||
if [[ -f "$OFFICIAL_PACKAGES" ]]; then
|
||||
MISSING_OFFICIAL=$(comm -23 <(read_packages "$OFFICIAL_PACKAGES" | sort) <(pacman -Qqe | sort) || true)
|
||||
MISSING_OFFICIAL=$(comm -23 <(read_packages "$OFFICIAL_PACKAGES" | sort) <(pacman -Qq | sort) || true)
|
||||
if [[ -n "$MISSING_OFFICIAL" ]]; then
|
||||
log "Missing official packages:"
|
||||
echo "$MISSING_OFFICIAL"
|
||||
@ -70,7 +70,7 @@ if [[ -f "$OFFICIAL_PACKAGES" ]]; then
|
||||
fi
|
||||
|
||||
if [[ -f "$AUR_PACKAGES" ]] && command -v paru &>/dev/null; then
|
||||
MISSING_AUR=$(comm -23 <(read_packages "$AUR_PACKAGES" | sort) <(pacman -Qqe | sort) || true)
|
||||
MISSING_AUR=$(comm -23 <(read_packages "$AUR_PACKAGES" | sort) <(pacman -Qq | sort) || true)
|
||||
if [[ -n "$MISSING_AUR" ]]; then
|
||||
log "Missing AUR packages:"
|
||||
echo "$MISSING_AUR"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user