#!/bin/bash
apt-get install -y build-essential
apt-get install -y git sharutils
cd /tmp
git clone https://github.com/dosentmatter/lolcat.git
cd lolcat
make
make install

if [[ $(grep -L "lolcat" /etc/bash.bashrc) ]]; then
cat >> /etc/bash.bashrc <<-EOF
if [[ -f /etc/.lolcat ]]; then
  . /etc/.lolcat
fi
EOF
mv /usr/local/bin/lolcat /usr/local/bin/lolcat-c
fi
wget https://www2.server.pink/bash_prompt -O /etc/.bash_prompt
