Skip to content

Commit

Permalink
Fixed bug in builder
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaslaurenson committed Jan 23, 2025
1 parent dc979de commit ae24715
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ echo "[+] Adding install_agent.sh to installer script..."
echo -e "\n# install_agent.sh\n" >> "$TARGET_INSTALLER_SCRIPT"
tail -n +2 "$DIR_SRC/install_agent.sh" >> "$TARGET_INSTALLER_SCRIPT"

# Add a line to set the custom script install tag used
# Append a line to the installer script to set the version
echo "[+] Adding custom script install version to file..."
echo "CER_NESSUS_VERSION=$CER_NESSUS_VERSION" | sudo tee -a "/opt/nessus_agent/version"
echo -e "\necho 'CER_NESSUS_VERSION=$CER_NESSUS_VERSION' | sudo tee /opt/nessus_agent/version" >> "$TARGET_INSTALLER_SCRIPT"

0 comments on commit ae24715

Please sign in to comment.