]> lifelog.hopto.org Git - LifeLog.git/commitdiff
Upd.
authorWill Budicm <redacted>
Sun, 30 Aug 2020 09:40:25 +0000 (19:40 +1000)
committerWill Budicm <redacted>
Sun, 30 Aug 2020 09:40:25 +0000 (19:40 +1000)
install_modules.sh

index 29f827172305677f232b393ac2ce58ee250d0f9a..5c857d03206692f3d3153613b3e3b8721d5a73e8 100755 (executable)
@@ -9,13 +9,13 @@
 # from the master (upgrade) repository.
 ## git pull
 
-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
+LifeLogInstall=install_lifelog_req_modules_2.0.sh
+sudo cat Installation.txt | grep 'sudo apt install' > $LifeLogInstall | awk '{print $0, "-y"}'
+sudo cat Installation.txt | grep 'sudo cpan' >> $LifeLogInstall 
+sudo chmod +x $LifeLogInstall
 # The following is actual installation file generated. Don't run outside this script.
 # You can delete or keep after running this script.
-sudo ./$LIFELOG_MODS
+sudo ./$LifeLogInstall
 
 #Used for stats, required utility
 sudo apt install inxi -y