Skip to content

Commit c539904

Browse files
committed
added OS information to dependency output
1 parent 1986d42 commit c539904

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/dependencyVersions.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ set -o errexit # set -e : exit the script if any statement returns a non-true
1111
# get the script directory
1212
scriptDir="$(dirname "$0")"
1313

14+
# print operating systems infos
15+
( lsb_release -ds || cat /etc/*release || uname -om ) 2>/dev/null | head -n1
16+
uname -mrs
17+
echo ""
1418
# Print the python version.
1519
echo "python: $(python3 --version | sed -n 's/.*Python\s*\([.0-9]*\)/\1/p')"
1620
echo "latexgit_py: $(pip freeze | grep latexgit | sed -n 's/.*==*\([.0-9]*\)/\1/p')"

0 commit comments

Comments
 (0)