Info.txt grabs version form release file now

Info.txt will grab the release version from release.txt instead of a hardcoded release version.
This commit is contained in:
Ace 2020-02-13 16:38:11 +01:00 committed by GitHub
parent acc598785d
commit 7e34b70f88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)