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