Skip to content

Commit 88af4f2

Browse files
authored
Improve diff (#840)
1 parent 2673059 commit 88af4f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ if [[ -n "$PACKAGE_NAME" ]]; then
9494
echo "Package: $PACKAGE_NAME"
9595
CMDS=("python /tools/pip_list_versions.py $PACKAGE_NAME | sort")
9696
else
97-
CMDS=('dpkg-query --show -f "${Package}==${Version}\n"' 'pip freeze')
97+
CMDS=("pip freeze" 'cat /etc/os-release | grep -oP "PRETTY_NAME=\"\K([^\"]*)"' "uname -r" "dpkg --list | awk '{print \$2\"==\"\$3}'")
9898
fi
9999

100100
for cmd in "${CMDS[@]}"; do

0 commit comments

Comments
 (0)