From e2e75eed64c68b9f77b0204c708ae3e4aeea7085 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sat, 2 Apr 2016 01:18:13 +0200 Subject: Print script version on script startup. --- bin/impressive-display | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/impressive-display b/bin/impressive-display index dd4e891..4655ab1 100755 --- a/bin/impressive-display +++ b/bin/impressive-display @@ -33,6 +33,8 @@ # texlive-extra-utils (for pdfnup) # poppler-utils (for pdfinfo) +VERSION="0.2.2" + PDF_URL="http://localhost" WITH_PULSEAUDIO="yes" @@ -430,6 +432,8 @@ function create_lock { ### MAIN ### +echo "INFO: $(basename $0) version $VERSION" + if [ -n "$PDF_URL" ]; then echo "INFO: PDF_URL is configured. Using PDF file from given URL: $PDF_URL" -- cgit v1.2.3