This repository has been archived on 2021-11-23. You can view files and clone it, but cannot push or open issues or pull requests.
sh_multi_install/common/apps/neofetch.sh

12 lines
209 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-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
}