raspiblitz/home.admin/XXaptInstall.sh

5 lines
148 B
Bash
Executable File

# Installs package if not yet installed
if [ $(sudo dpkg-query -l | grep "ii $1" | wc -l) = 0 ]; then
sudo apt-get install $1 -y > /dev/null
fi