summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-04-02 01:18:13 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-04-02 01:18:37 +0200
commite2e75eed64c68b9f77b0204c708ae3e4aeea7085 (patch)
treee10135a0556c0699755c5511102350b567df9583
parent83b29a45e715574b90c480ac9f2916b9e661e865 (diff)
downloadimpressive-display-e2e75eed64c68b9f77b0204c708ae3e4aeea7085.tar.gz
impressive-display-e2e75eed64c68b9f77b0204c708ae3e4aeea7085.tar.bz2
impressive-display-e2e75eed64c68b9f77b0204c708ae3e4aeea7085.zip
Print script version on script startup.
-rwxr-xr-xbin/impressive-display4
1 files changed, 4 insertions, 0 deletions
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"