githook: Fix showing pkgs in commit message
Quick fix to show difference in committed and installed packages in the commit editor window again. Due to Arch moving the base-devel package from a group to a meta-package we can not just remove all packages that are in the group anymore - it will simply error out instead. This removes the check and thus provides a quick and dirty fix for the time being.
This commit is contained in:
parent
bce5675795
commit
60b89b6d30
2 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ COMMIT_SOURCE="$2"
|
|||
|
||||
BOOTSTRAPDIR="bootstrap"
|
||||
pkg_committed="$(cat "$(git rev-parse --show-toplevel)"/$BOOTSTRAPDIR/packages*.tsv | grep -v -e '^Name Description Source Target' | cut -f1 | sort)"
|
||||
pkg_onsystem=$(pacman -Qqett | grep -v "$(pacman -Qqg base-devel)" | sort)
|
||||
pkg_onsystem=$(pacman -Qqett | sort)
|
||||
|
||||
# get files only in repo, and only on machine
|
||||
only_committed=$(comm -23 <(echo "$pkg_committed") <(echo "$pkg_onsystem"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue