This repository has been archived on 2022-03-25. You can view files and clone it, but cannot push or open issues or pull requests.
manjaroConfiguration/installLatex.sh

24 lines
686 B
Bash

# Install Latex
sudo apt update
sudo apt install texlive-full python3-pygments -y
echo -e "\nLatex installed, along with Pygments for minted package!"
if grep "Ubuntu" /proc/version > /dev/null;
then
# Path where icons are saved
pathicons='/usr/share/applications'
apps=("display-im6.q16" "prerex" "vprerex" "texdoctk" "info")
# We remove the Ubuntu desktop shortcut only if it already exists
for app in ${apps[@]}
do
if [ -f $pathicons/$app.desktop ]
then
sudo mv $pathicons/$app.desktop $pathicons/$app.desktop.bak
echo "$app's icon removed!"
fi
done
fi
echo -e "\nLatex additionnal icons removed! 🎉"