From 7e34b70f8815ed0983520e0c606aca6e58ed8ab9 Mon Sep 17 00:00:00 2001 From: Ace Date: Thu, 13 Feb 2020 16:38:11 +0100 Subject: [PATCH] Info.txt grabs version form release file now Info.txt will grab the release version from release.txt instead of a hardcoded release version. --- Installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Installer.sh b/Installer.sh index 159b542..dcccabd 100644 --- a/Installer.sh +++ b/Installer.sh @@ -92,11 +92,11 @@ if [ "$option" = 1 ] || [ "$option" = 2 ]; then # This happens when installing o ln -s /home/"$USER"/Inky-Calendar/settings/configuration.py /home/"$USER"/Inky-Calendar/modules/ # add a short info + currentRelease=$(cat release.txt) cat > /home/pi/Inky-Calendar/Info.txt << EOF This document contains a short info of the Inky-Calendar software version -Version: 1.7.2 -Installer version: 1.7.2 (Mid Feb 2020) +Version: $currentRelease settings file: /home/$USER/Inky-Calendar/settings/settings.py If the time was set correctly, you installed this software on: $(date)