improve scripts

This commit is contained in:
2024-11-02 15:38:09 -04:00
parent ec66d63089
commit a30bef3b29
5 changed files with 26 additions and 17 deletions

View File

@ -1,7 +1,4 @@
#!/usr/bin/env bash
set -eou pipefail
echo $(pacman -Qqe) | \
tr " " "\n" | \
sort \
> /packages.txt
sudo bash -c 'echo $(pacman -Qqe) | tr " " "\n" | sort > /packages.txt'