Add script to save packages installed
This commit is contained in:
parent
82ad270b2c
commit
911bdf1538
8
arch-config/scripts/pieces/pacman-save-packages.sh
Normal file
8
arch-config/scripts/pieces/pacman-save-packages.sh
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
##################################################
|
||||||
|
####### Save explicitly installed packages #######
|
||||||
|
##################################################
|
||||||
|
|
||||||
|
pacman -Qeq > "$HOME/GitProjects/setup/packages/"$(hostname)"-packages.txt"
|
Loading…
Reference in New Issue
Block a user