sh_linux_installation_scripts/common/apps/debian/neofetch.sh

13 lines
221 B
Bash
Raw Normal View History

2021-03-07 17:40:20 +01:00
#!/bin/bash
install_neofetch() {
2021-04-10 00:26:46 +02:00
echo "Installing neofetch"
2021-03-07 17:40:20 +01:00
sudo apt-get install neofetch -y
2021-04-14 17:08:05 +02:00
echo '
2021-04-14 18:22:50 +02:00
if [ $USER != "root" ]; then
2021-05-26 12:02:32 +02:00
echo ""
2021-04-14 17:08:05 +02:00
neofetch
fi
' | sudo tee -a /etc/bash.bashrc > /dev/null
2021-03-17 16:57:23 +01:00
}