mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2026-01-07 16:32:56 +02:00
syntax change
This commit is contained in:
2
debian/scripts/setup_packages.sh
vendored
2
debian/scripts/setup_packages.sh
vendored
@@ -39,7 +39,7 @@ if [[ "$1" == "-install" ]]; then
|
|||||||
echo ' '
|
echo ' '
|
||||||
apt-get -q update >> /opt/scripts/setup_packages.log 2>&1
|
apt-get -q update >> /opt/scripts/setup_packages.log 2>&1
|
||||||
check_package_validity
|
check_package_validity
|
||||||
for i in "$packages"; do
|
for i in $packages; do
|
||||||
if ! dpkg -s "$i" >/dev/null 2>&1; then
|
if ! dpkg -s "$i" >/dev/null 2>&1; then
|
||||||
echo -n "$i is not installed. Installing... "
|
echo -n "$i is not installed. Installing... "
|
||||||
check_package_preq >> /opt/scripts/setup_packages.log 2>&1
|
check_package_preq >> /opt/scripts/setup_packages.log 2>&1
|
||||||
|
|||||||
Reference in New Issue
Block a user