Created
March 30, 2021 15:40
-
-
Save DanaEpp/61ba1260a8751ad067b97fe057b7da81 to your computer and use it in GitHub Desktop.
Simple script to setup pandoc and latex for report gen on Kali
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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