configs/arch-config/scripts/pieces/pacman-save-packages.sh
2021-05-31 15:44:31 +02:00

13 lines
364 B
Bash
Executable File

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