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

11 lines
319 B
Bash
Raw Normal View History

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