2021-11-18 23:10:50 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Check if you are root
|
|
|
|
mkdir -p /etc/root &> /dev/null
|
|
|
|
administrador=$?
|
|
|
|
if [ ${administrador} -eq 0 ] ; then
|
|
|
|
rm -rf /etc/root
|
|
|
|
else
|
|
|
|
echo ""
|
|
|
|
echo "* Administrator permissions are required"
|
|
|
|
echo ""
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Install fonts
|
|
|
|
mkdir -p /usr/share/fonts/truetype/mononoki/
|
|
|
|
mkdir -p /usr/share/fonts/truetype/joypixels/
|
2022-04-24 10:27:18 +02:00
|
|
|
mkdir -p /usr/share/fonts/truetype/ubuntumono/
|
2021-11-18 23:10:50 +01:00
|
|
|
tar Jxvf joypixels-fonts.tar.xz -C /usr/share/fonts/truetype/joypixels/
|
|
|
|
tar Jxvf mononoki-nerds-fonts.tar.xz -C /usr/share/fonts/truetype/mononoki/
|
2022-04-24 10:27:18 +02:00
|
|
|
tar Jxvf mononoki-nerds-fonts.tar.xz -C /usr/share/fonts/truetype/mononoki/
|
|
|
|
tar Jxvf ubuntumono-nerd-fonts.tar.xz -C /usr/share/fonts/truetype/ubuntumono/
|