Skip to content

Commit

Permalink
version.sh: log installed packages
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasdiener committed Aug 22, 2024
1 parent 21ba2df commit 0992b56
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,27 @@ uname -a


echo
echo "*** Emirge modules"
echo "*** OS packages"

set +e
set -x

command -v brew && brew list --versions 2>/dev/null
command -v apt && apt list --installed 2>/dev/null
command -v rpm && rpm -qa 2>/dev/null

set +x
set -e


echo
echo "*** OS modules"

command -v module && module list


echo
echo "*** Emirge git modules"

res="Package|Branch|Commit|Date|URL\n"
res+="=======|======|======|======|======\n"
Expand Down

0 comments on commit 0992b56

Please sign in to comment.