From 6a0371eb2686667eec8faeb64a9ccacddfb51ad9 Mon Sep 17 00:00:00 2001 From: Will Budicm Date: Tue, 26 May 2020 20:52:26 +1000 Subject: [PATCH] Updated, to use version variable. --- install_modules.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/install_modules.sh b/install_modules.sh index 8d857c3..24f7f9b 100644 --- a/install_modules.sh +++ b/install_modules.sh @@ -8,12 +8,14 @@ # Uncoment the following git pull if also wanting to perform a latest pull # from the master (upgrade) repository. ## git pull -sudo cat Installation.txt | grep 'sudo apt install' > install_lifelog_modules_1.1.8.sh -sudo cat Installation.txt | grep 'sudo cpan' >> install_lifelog_modules_1.1.8.sh -sudo chmod +x install_lifelog_modules_1.1.8.sh +VER="2.0" +SCRIPT="install_lifelog_modules_$VER.sh" +sudo cat Installation.txt | grep 'sudo apt install' > $SCRIPT +sudo cat Installation.txt | grep 'sudo cpan' >> $SCRIPT +sudo chmod +x $SCRIPT # The following is actual installation file generated. Don't run outside this script. # You can delete or keep after running this script. -sudo ./install_lifelog_modules_1.1.8.sh +sudo ./$SCRIPT echo "\nDone with Life Log modules installation!\n" -- 2.34.1