]> lifelog.hopto.org Git - LifeLog.git/commitdiff
Update install_modules.sh
authorwbudic <redacted>
Sun, 30 Aug 2020 06:34:15 +0000 (16:34 +1000)
committerGitHub <redacted>
Sun, 30 Aug 2020 06:34:15 +0000 (16:34 +1000)
install_modules.sh

index 02e940d1f3fe555e877783cc4b8b216800756b21..9d47e5a8e56665036c53443781ccf4f972ef5fd5 100755 (executable)
@@ -8,12 +8,13 @@
 # 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
+LIFELOG_MODS=install_lifelog_req_modules_2.0.sh
+sudo cat Installation.txt | grep 'sudo apt install' > $LIFELOG_MODS
+sudo cat Installation.txt | grep 'sudo cpan' >> $LIFELOG_MODS
+sudo chmod +x $LIFELOG_MODS
 # 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 ./$LIFELOG_MODS
 
 #Used for stats, required utility
 sudo apt install inxi -y