💄 style(pacman): change hook to list packages without the version number

This commit is contained in:
Sergio Laín 2024-09-05 14:40:22 +02:00
parent cd9b2ec5ac
commit e2c550919a
No known key found for this signature in database
GPG key ID: 8429B2EE312F8150

View file

@ -8,4 +8,4 @@ Target = *
[Action]
Description = Create a backup list of all installed packages
When = PostTransaction
Exec = /bin/sh -c "pacman -Qme > /home/matt/.config/pacman/aur-packages.txt && pacman -Qne > /home/matt/.config/pacman/arch-packages.txt"
Exec = /bin/sh -c "pacman -Qme | awk '{ print $1 }' > /home/matt/.config/pacman/aur-packages.txt && pacman -Qne | awk '{ print $1 }' > /home/matt/.config/pacman/arch-packages.txt"