Fix dotfiles.sh package listing

This commit is contained in:
Riyyi
2020-07-10 01:28:42 +02:00
parent 19715499d7
commit f9e2dbd494
+1 -1
View File
@@ -140,7 +140,7 @@ push() {
} }
packages() { packages() {
FILTER_LIST="$((pacman -Qqg base base-devel && pactree -u base | tail -n +2) | sort)" FILTER_LIST="$((pacman -Qqg base base-devel; pactree -u base | tail -n +2) | sort)"
PACKAGE_LIST="$(pacman -Qqe | grep -vx "$FILTER_LIST" | sort)" PACKAGE_LIST="$(pacman -Qqe | grep -vx "$FILTER_LIST" | sort)"
if [ "$1" = "list" ] || [ "$1" = "" ]; then if [ "$1" = "list" ] || [ "$1" = "" ]; then