configs/roles/config/files/scripts/pieces/pacman-save-packages.sh

13 lines
390 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -euo pipefail
##################################################
####### Save explicitly installed packages #######
##################################################
echo "Saving explicitly installed packages"
pacman -Qeq > "$HOME/GitProjects/configs/arch-setup/packages/"$(hostname)"-packages.txt"
"$HOME/GitProjects/configs/arch-setup/packages/sort-lists.sh"