Merge pull request #57 from KasperskyLab/dev
Update install.sh with new node version.
This commit is contained in:
		@@ -283,7 +283,7 @@ install_package() {
 | 
				
			|||||||
       rm Release.key && sudo apt-get update
 | 
					       rm Release.key && sudo apt-get update
 | 
				
			||||||
       apt-get install zeek -y
 | 
					       apt-get install zeek -y
 | 
				
			||||||
    elif [[ $1 == "nodejs" ]]; then
 | 
					    elif [[ $1 == "nodejs" ]]; then
 | 
				
			||||||
       curl -sL https://deb.nodesource.com/setup_12.x | bash
 | 
					       curl -sL https://deb.nodesource.com/setup_14.x | bash
 | 
				
			||||||
       apt-get install -y nodejs
 | 
					       apt-get install -y nodejs
 | 
				
			||||||
    elif [[ $1 == "dig" ]]; then
 | 
					    elif [[ $1 == "dig" ]]; then
 | 
				
			||||||
       apt-get install -y dnsutils
 | 
					       apt-get install -y dnsutils
 | 
				
			||||||
@@ -436,7 +436,7 @@ change_configs() {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
feeding_iocs() {
 | 
					feeding_iocs() {
 | 
				
			||||||
    echo -e "\e[39m[+] Feeding your TinyCheck instance with fresh IOCs and whitelist."
 | 
					    echo -e "\e[39m[+] Feeding your TinyCheck instance with fresh IOCs and whitelist, please wait."
 | 
				
			||||||
    python3 /usr/share/tinycheck/server/backend/watchers.py
 | 
					    python3 /usr/share/tinycheck/server/backend/watchers.py
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user