mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2026-02-28 23:31:39 +02:00
testing
This commit is contained in:
5
debian/scripts/setup_packages.sh
vendored
5
debian/scripts/setup_packages.sh
vendored
@@ -5,7 +5,10 @@ then
|
||||
apt-get -qq update
|
||||
packages=$(cat /opt/scripts/.packages)
|
||||
for i in $packages; do
|
||||
sudo apt-get -qq -y install $i
|
||||
if [ $(dpkg-query -W -f='${Status}' $i 2>/dev/null | grep -c "ok installed") -eq 0 ];
|
||||
then
|
||||
sudo apt-get -qq -y install $i
|
||||
fi
|
||||
done
|
||||
elif [ $1 == "-update" ]
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user