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