mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-25 23:21:13 +01:00
5 lines
148 B
Bash
5 lines
148 B
Bash
|
# 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
|