configs/arch-config/scripts/pieces/pacman-save-packages.sh

13 lines
364 B
Bash
Raw Permalink Normal View History

2021-05-31 10:53:49 +02:00
#!/usr/bin/env bash
set -euo pipefail
##################################################
####### Save explicitly installed packages #######
##################################################
2021-05-31 15:44:31 +02:00
echo "Saving explicitly installed packages"
2021-05-31 10:53:49 +02:00
pacman -Qeq > "$HOME/GitProjects/setup/packages/"$(hostname)"-packages.txt"
"$HOME/GitProjects/setup/packages/sort-lists.sh"