From 778acd9c26bb534db9c0e5a3792aa01838c05b4f Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Fri, 14 Mar 2025 12:33:32 -0500 Subject: [PATCH] chg: Use uv instead of pipx --- makepkglist | 4 ++-- makepkglist_server | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/makepkglist b/makepkglist index 5e8052b..64602ac 100644 --- a/makepkglist +++ b/makepkglist @@ -21,6 +21,6 @@ command -v dnf &> /dev/null && dnf list installed > $DIR/dnf # list and save pip packages command -v pip &> /dev/null && pip list | awk '{print $1}' | tail -n +3 > $DIR/pip -# list and save pipx packages -command -v pipx &> /dev/null && pipx list | grep package | awk '{print $2}' > $DIR/pipx +# list and save uv packages +command -v uv &> /dev/null && uv tool list | grep -vE '^-.*' | awk '{print $1}' > $DIR/uv diff --git a/makepkglist_server b/makepkglist_server index 4ac53e4..7a3a96a 100644 --- a/makepkglist_server +++ b/makepkglist_server @@ -23,6 +23,6 @@ command -v dnf &> /dev/null && dnf list installed | awk '{print $1}' | tail -n + # list and save pip packages command -v pip &> /dev/null && pip list | awk '{print $1}' | tail -n +3 > $DIR/pip -# list and save pipx packages -command -v pipx &> /dev/null && pipx list | grep package | awk '{print $2}' > $DIR/pipx +# list and save uv packages +command -v uv &> /dev/null && uv tool list | grep -vE '^-.*' | awk '{print $1}' > $DIR/uv