From b5fc109f990cae231666af88e126bc8178b5900e Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Mon, 19 Sep 2022 20:03:45 -0500 Subject: [PATCH] Improve formatting --- makepkglist_server | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makepkglist_server b/makepkglist_server index 1b5d727..368a4d4 100644 --- a/makepkglist_server +++ b/makepkglist_server @@ -13,7 +13,7 @@ mkdir -p $DIR # list and save system packages # command -v pacman &> /dev/null && pacman -Qq > $DIR/pacman -command -v dnf &> /dev/null && dnf list installed > $DIR/dnf +command -v dnf &> /dev/null && dnf list installed | awk '{print $1}' | tail -n +2 > $DIR/dnf # list and save pip packages command -v pip &> /dev/null && pip list | awk '{print $1}' | tail -n +3 > $DIR/pip