Skip to content

Instantly share code, notes, and snippets.

@DanaEpp
Created March 30, 2021 15:40
Show Gist options
  • Save DanaEpp/61ba1260a8751ad067b97fe057b7da81 to your computer and use it in GitHub Desktop.
Save DanaEpp/61ba1260a8751ad067b97fe057b7da81 to your computer and use it in GitHub Desktop.
Simple script to setup pandoc and latex for report gen on Kali
#!/bin/bash
function needInstall() {
echo "Checking for $1..."
if ! [ -x "$(command -v $1)" ]; then
return 0;
else
return 1;
fi
}
clear
echo ""
echo "========================================="
echo " SILVERSTR REPORT GEN INSTALL "
echo "========================================="
echo ""
# ENV TOOLS
if needInstall pandoc ; then
sudo apt install pandoc -y
fi
if needInstall latex ; then
sudo apt install texlive -y
sudo apt install textlive-latex-extra -y
sudo apt-get install texlive-fonts-recommended texlive-fonts-extra -y
fi
echo ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment